#8F6BCE#8F6BCE
#8F6BCE is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.7% C 0.148 H 298.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F6BCE |
|---|---|
| RGB | rgb(143, 107, 206) |
| HSL | hsl(262, 50%, 61%) |
| HSV | hsv(262, 48%, 81%) |
| CMYK | cmyk(30.6%, 48.1%, 0%, 19.2%) |
| CIE-LAB | lab(52.74, 35.29, -46.30) |
| CIE-LCH | lch(52.74, 58.21, 307.32°) |
| OKLab | oklab(60.7% 0.0712 -0.1302) |
| OKLCH | oklch(60.7% 0.148 298.7) |
| XYZ | xyz(27.7233, 20.8110, 60.9369) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.56
Deep Lilac
#966EBD
ΔE00 4.30
Amethyst
#9B5FC0
ΔE00 5.35
Deep Lavender
#8D5EB7
ΔE00 5.60
Mediumslateblue
#7B68EE
ΔE00 6.83
Purpley
#8756E4
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F6BCE #AACE6B
analogous
#6B79CE #8F6BCE #C16BCE
triadic
#8F6BCE #CE8F6B #6BCE8F
tetradic
#8F6BCE #CE6B79 #AACE6B #6BCEC1
square
#8F6BCE #CE6B79 #AACE6B #6BCEC1
split-complementary
#8F6BCE #CEC16B #79CE6B
monochromatic
#522F8F #6D3FBD #8F6BCE #B299DD #D5C7EC
Accessibility & contrast
On white
4.07
#8F6BCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8F6BCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F6BCE
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F6BCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F6BCE | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#827D93
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8f6bce; /* rgb */ color: rgb(143, 107, 206); /* oklch */ color: oklch(60.7% 0.148 298.7);
Tailwind
colors: {
custom: {
50: '#b296dd',
500: '#8f6bce',
950: '#000000',
},
}SCSS
$custom: #8f6bce; $custom-light: #b296dd; $custom-dark: #000000;
JSON
{
"hex": "#8f6bce",
"rgb": {
"r": 143,
"g": 107,
"b": 206
},
"hsl": {
"h": 261.818,
"s": 50.254,
"l": 61.373
},
"oklch": {
"l": 0.60704,
"c": 0.14844,
"h": 298.7
},
"luminance": 0.20811
}Semantic roles & 50–950 ramp
primary
#8F6BCE
secondary
#CFDDB8
accent
#BE2887
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83