#8772F2#8772F2
#8772F2 is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.4% C 0.185 H 287.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8772F2 |
|---|---|
| RGB | rgb(135, 114, 242) |
| HSL | hsl(250, 83%, 70%) |
| HSV | hsv(250, 53%, 95%) |
| CMYK | cmyk(44.2%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(55.68, 38.98, -61.90) |
| CIE-LCH | lch(55.68, 73.15, 302.20°) |
| OKLab | oklab(63.39% 0.0554 -0.1762) |
| OKLCH | oklch(63.39% 0.185 287.5) |
| XYZ | xyz(32.0314, 23.5951, 86.8538) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.52
Mediumpurple
#9370DB
ΔE00 4.69
Periwinkle (survey)
#8E82FE
ΔE00 4.87
Cornflower
#6A79F7
ΔE00 6.01
Lavender Blue
#8B88F8
ΔE00 6.50
Lighter Purple
#A55AF4
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8772F2 #DDF272
analogous
#729DF2 #8772F2 #C772F2
triadic
#8772F2 #F28772 #72F287
tetradic
#8772F2 #F2729D #DDF272 #72F2C7
square
#8772F2 #F2729D #DDF272 #72F2C7
split-complementary
#8772F2 #F2C772 #9DF272
monochromatic
#3414D6 #573AED #8772F2 #B7AAF7 #E6E2FC
Accessibility & contrast
On white
3.67
#8772F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#8772F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8772F2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8772F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8772F2 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#668EA7
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8772f2; /* rgb */ color: rgb(135, 114, 242); /* oklch */ color: oklch(63.4% 0.185 287.5);
Tailwind
colors: {
custom: {
50: '#b09bf7',
500: '#8772f2',
950: '#000000',
},
}SCSS
$custom: #8772f2; $custom-light: #b09bf7; $custom-dark: #000000;
JSON
{
"hex": "#8772f2",
"rgb": {
"r": 135,
"g": 114,
"b": 242
},
"hsl": {
"h": 249.844,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.63386,
"c": 0.18468,
"h": 287.5
},
"luminance": 0.23596
}Semantic roles & 50–950 ramp
primary
#8772F2
secondary
#ECF2CE
accent
#E006BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85