Skip to content

#775af2

a light, electric blue · cool · closest name: Medium Slate Blue

RGB
119, 90, 242
HSL
251°, 85%, 65%
CMYK
51, 63, 0, 5
Luminance
0.1765

At a glance

Every number on this page in one read: what #775af2 is made of, how bright it looks, and which way it leans.

Hex
#775af2
Hue
251°
blue
Saturation
85%
electric
Lightness
65%
light
Brightness
95%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1765
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
4.64:1
Closest name
Medium Slate Blue
ΔE2000 4
Where it sits
Hue251° of 360°
Saturation85%
Lightness65%
Temperature
Warm ← → Cool77% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#775af2
RGBrgb(119, 90, 242)
HSLhsl(251, 85%, 65%)
CMYKcmyk(51%, 63%, 0%, 5%)
LABlab(49.1 49.4 -72.7)
LCHlch(49.1 87.9 304.2)
OKLCHoklch(0.582 0.217 286.3)
Decimal7822066
Display P3color(display-p3 0.467 0.353 0.949)

Copy-ready code

/* CSS */
color: #775af2;
background-color: #775af2;
/* Tailwind (arbitrary) */
class="text-[#775af2] bg-[#775af2]"
/* SCSS */
$brand: #775af2;
/* SwiftUI */
Color(red: 0.467, green: 0.353, blue: 0.949)
/* Android */
Color.parseColor("#775af2")
/* Flutter */
Color(0xFF775AF2)
/* Python / OpenCV (BGR) */
(242, 90, 119)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #775af2 · 4.64:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.64:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.53:1
AA pass · AA large pass · AAA fail
Reading the other direction: #775af2 as text scores 4.64:1 on white and 4.53:1 on black.

Accessibility — WCAG contrast

Aa
#775af2 on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#775af2 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0079F7
deuteranopia · #0070EF
tritanopia · #487F9E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #775af2 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F2FD
#E9E5FA
#CEC5F7
#A997F7
#775af2
#532FEF
#3A12E3
#300FBD
#260C97
#1F0D6D
#140844
Base = 400Lightest = 50 · #F4F2FDDarkest = 950 · #140844
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E9E5FA;
  --brand-200: #CEC5F7;
  --brand-300: #A997F7;
  --brand-400: #775af2;
  --brand-500: #532FEF;
  --brand-600: #3A12E3;
  --brand-700: #300FBD;
  --brand-800: #260C97;
  --brand-900: #1F0D6D;
  --brand-950: #140844;
  --brand: #775af2;
  --brand-ink: #ffffff;
}

Colors that work with #775af2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5F4FA
Tinted page background
Border#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#C2B60A
Second voice, not a rival
Dark variant#1E0976
Hover, pressed, headers
Light variant#EBE7FD
Selected rows, tints
Dark surface#171424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #775af2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#D5F25A
Analogous left#5A89F2
Analogous right#C35AF2
Split-complement 1#F2C35A
Split-complement 2#89F25A
Triadic 1#F2775A
Triadic 2#5AF277
Tetradic#F25A89

RGB percentages

Red46.7%
Green35.3%
Blue94.9%

CMYK percentages

Cyan50.8%
Magenta62.8%
Yellow0.0%
Key (black)5.1%

Color previews

#775af2 text on a black background

contrast 4.53:1

Card sample

#775af2 text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #775af2;
Background color
Panel with #775af2 background
background-color: #775af2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #775af2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(119, 90, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(119, 90, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #775af2;
background: linear-gradient(135deg, #775af2, #DC5AF2);

Monochromatic scale

Palettes built from #775af2

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#775af2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#775af2, answered

What color is #775af2?

#775af2 is a light electric blue, closest to Medium Slate Blue (ΔE2000 4). It sits at 251° on the hue wheel with 85% saturation and 65% lightness, which reads as cool.

What is the RGB value of #775af2?

rgb(119, 90, 242) — 119 red, 90 green and 242 blue out of 255, or 46.7% / 35.3% / 94.9% by channel.

Is #775af2 a light or a dark color?

It is a dark color. Relative luminance is 0.1765 and perceived brightness is 49%, so white text on it reaches 4.64:1.

Should I use black or white text on #775af2?

White. It scores 4.64:1 against #775af2, versus 4.53:1 for black — AA at any size.

What is the complementary color of #775af2?

#D5F25A sits directly opposite on the wheel. Softer options are the split-complements #F2C35A and #89F25A, which give the same contrast with far less vibration.

What colors go well with #775af2?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #C2B60A as an accent and #1E0976 for hover and pressed states. For a palette, the analogous pair #5A89F2 and #C35AF2 stays calm, while #D5F25A is the loudest partner.

What is #775af2 in CMYK for printing?

cmyk(51%, 63%, 0%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #775af2 warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF5AF2; nudged cooler, #5874F4.

Work with #775af2 in the Color Lab