#8668F2#8668F2
#8668F2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.198 H 289.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8668F2 |
|---|---|
| RGB | rgb(134, 104, 242) |
| HSL | hsl(253, 84%, 68%) |
| HSV | hsv(253, 57%, 95%) |
| CMYK | cmyk(44.6%, 57%, 0%, 5.1%) |
| CIE-LAB | lab(53.36, 44.48, -65.64) |
| CIE-LCH | lch(53.36, 79.29, 304.12°) |
| OKLab | oklab(61.65% 0.0654 -0.1872) |
| OKLCH | oklch(61.65% 0.198 289.3) |
| XYZ | xyz(30.8043, 21.3786, 86.4906) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.01
Mediumpurple
#9370DB
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.50
Lighter Purple
#A55AF4
ΔE00 6.23
Periwinkle (survey)
#8E82FE
ΔE00 7.60
Cornflower
#6A79F7
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8668F2 #D4F268
analogous
#688FF2 #8668F2 #CB68F2
triadic
#8668F2 #F28668 #68F286
tetradic
#8668F2 #F2688F #D4F268 #68F2CB
square
#8668F2 #F2688F #D4F268 #68F2CB
split-complementary
#8668F2 #F2CB68 #8FF268
monochromatic
#3B12CE #5930ED #8668F2 #B3A0F7 #E0D9FC
Accessibility & contrast
On white
3.98
#8668F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8668F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8668F2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8668F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8668F2 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0E7CEF
Tritanopia (blue-blind)
#6587A3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8668f2; /* rgb */ color: rgb(134, 104, 242); /* oklch */ color: oklch(61.6% 0.198 289.3);
Tailwind
colors: {
custom: {
50: '#b094f7',
500: '#8668f2',
950: '#000000',
},
}SCSS
$custom: #8668f2; $custom-light: #b094f7; $custom-dark: #000000;
JSON
{
"hex": "#8668f2",
"rgb": {
"r": 134,
"g": 104,
"b": 242
},
"hsl": {
"h": 253.043,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.61649,
"c": 0.19834,
"h": 289.3
},
"luminance": 0.2138
}Semantic roles & 50–950 ramp
primary
#8668F2
secondary
#E7F0C6
accent
#E105B1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85