#8254CF#8254CF
#8254CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.183 H 297.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8254CF |
|---|---|
| RGB | rgb(130, 84, 207) |
| HSL | hsl(262, 56%, 57%) |
| HSV | hsv(262, 59%, 81%) |
| CMYK | cmyk(37.2%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(46.43, 45.31, -57.04) |
| CIE-LCH | lch(46.43, 72.84, 308.47°) |
| OKLab | oklab(55.75% 0.0839 -0.1621) |
| OKLCH | oklch(55.75% 0.183 297.4) |
| XYZ | xyz(23.6359, 15.5911, 60.7835) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.97
Deep Lavender
#8D5EB7
ΔE00 6.09
Royal Purple
#7851A9
ΔE00 6.38
Iris
#6258C4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8254CF #A1CF54
analogous
#5464CF #8254CF #BF54CF
triadic
#8254CF #CF8254 #54CF82
tetradic
#8254CF #CF5464 #A1CF54 #54CFBF
square
#8254CF #CF5464 #A1CF54 #54CFBF
split-complementary
#8254CF #CFBF54 #64CF54
monochromatic
#482584 #6332B3 #8254CF #A584DC #C8B4EA
Accessibility & contrast
On white
5.10
#8254CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#8254CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8254CF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8254CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8254CF | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#226DCC
Tritanopia (blue-blind)
#706E89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8254cf; /* rgb */ color: rgb(130, 84, 207); /* oklch */ color: oklch(55.7% 0.183 297.4);
Tailwind
colors: {
custom: {
50: '#ab86de',
500: '#8254cf',
950: '#000000',
},
}SCSS
$custom: #8254cf; $custom-light: #ab86de; $custom-dark: #000000;
JSON
{
"hex": "#8254cf",
"rgb": {
"r": 130,
"g": 84,
"b": 207
},
"hsl": {
"h": 262.439,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.55749,
"c": 0.18251,
"h": 297.4
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#8254CF
secondary
#C6D8A6
accent
#DF48A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83