#8F68F2#8F68F2
#8F68F2 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.198 H 292.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F68F2 |
|---|---|
| RGB | rgb(143, 104, 242) |
| HSL | hsl(257, 84%, 68%) |
| HSV | hsv(257, 57%, 95%) |
| CMYK | cmyk(40.9%, 57%, 0%, 5.1%) |
| CIE-LAB | lab(54.19, 46.40, -64.26) |
| CIE-LCH | lch(54.19, 79.26, 305.83°) |
| OKLab | oklab(62.45% 0.0768 -0.1829) |
| OKLCH | oklch(62.45% 0.198 292.8) |
| XYZ | xyz(32.3007, 22.1502, 86.5608) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 4.88
Purpley
#8756E4
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 6.80
Light Urple
#B36FF6
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F68F2 #CBF268
analogous
#6886F2 #8F68F2 #D468F2
triadic
#8F68F2 #F28F68 #68F28F
tetradic
#8F68F2 #F26886 #CBF268 #68F2D4
square
#8F68F2 #F26886 #CBF268 #68F2D4
split-complementary
#8F68F2 #F2D468 #86F268
monochromatic
#4712CE #6530ED #8F68F2 #B9A0F7 #E3D9FC
Accessibility & contrast
On white
3.87
#8F68F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8F68F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F68F2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F68F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F68F2 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#247FEF
Tritanopia (blue-blind)
#7486A3
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f68f2; /* rgb */ color: rgb(143, 104, 242); /* oklch */ color: oklch(62.5% 0.198 292.8);
Tailwind
colors: {
custom: {
50: '#b594f7',
500: '#8f68f2',
950: '#000000',
},
}SCSS
$custom: #8f68f2; $custom-light: #b594f7; $custom-dark: #000000;
JSON
{
"hex": "#8f68f2",
"rgb": {
"r": 143,
"g": 104,
"b": 242
},
"hsl": {
"h": 256.957,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.62453,
"c": 0.19839,
"h": 292.8
},
"luminance": 0.22151
}Semantic roles & 50–950 ramp
primary
#8F68F2
secondary
#E4F0C6
accent
#E105A3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85