#8255CF#8255CF
#8255CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.181 H 297.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8255CF |
|---|---|
| RGB | rgb(130, 85, 207) |
| HSL | hsl(262, 56%, 57%) |
| HSV | hsv(262, 59%, 81%) |
| CMYK | cmyk(37.2%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(46.64, 44.76, -56.70) |
| CIE-LCH | lch(46.64, 72.24, 308.29°) |
| OKLab | oklab(55.9% 0.0827 -0.1611) |
| OKLCH | oklch(55.9% 0.181 297.2) |
| XYZ | xyz(23.7140, 15.7475, 60.8096) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.18
Light Indigo
#6D5ACF
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.89
Deep Lavender
#8D5EB7
ΔE00 5.98
Iris
#6258C4
ΔE00 6.35
Dark Periwinkle
#665FD1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8255CF #A2CF55
analogous
#5565CF #8255CF #BF55CF
triadic
#8255CF #CF8255 #55CF82
tetradic
#8255CF #CF5565 #A2CF55 #55CFBF
square
#8255CF #CF5565 #A2CF55 #55CFBF
split-complementary
#8255CF #CFBF55 #65CF55
monochromatic
#482584 #6233B4 #8255CF #A585DC #C8B4EA
Accessibility & contrast
On white
5.06
#8255CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#8255CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8255CF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8255CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8255CF | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#706F8A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8255cf; /* rgb */ color: rgb(130, 85, 207); /* oklch */ color: oklch(55.9% 0.181 297.2);
Tailwind
colors: {
custom: {
50: '#ab87de',
500: '#8255cf',
950: '#000000',
},
}SCSS
$custom: #8255cf; $custom-light: #ab87de; $custom-dark: #000000;
JSON
{
"hex": "#8255cf",
"rgb": {
"r": 130,
"g": 85,
"b": 207
},
"hsl": {
"h": 262.131,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.55901,
"c": 0.18109,
"h": 297.2
},
"luminance": 0.15748
}Semantic roles & 50–950 ramp
primary
#8255CF
secondary
#C6D9A7
accent
#DF49A8
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100B15
muted
#7F7C83