#865CFC#865CFC
#865CFC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.226 H 290.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #865CFC |
|---|---|
| RGB | rgb(134, 92, 252) |
| HSL | hsl(256, 96%, 67%) |
| HSV | hsv(256, 63%, 99%) |
| CMYK | cmyk(46.8%, 63.5%, 0%, 1.2%) |
| CIE-LAB | lab(51.55, 53.83, -74.13) |
| CIE-LCH | lch(51.55, 91.61, 305.98°) |
| OKLab | oklab(60.55% 0.0775 -0.2122) |
| OKLCH | oklch(60.55% 0.226 290) |
| XYZ | xyz(31.2244, 19.7497, 94.2435) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.87
Mediumslateblue
#7B68EE
ΔE00 3.91
Lighter Purple
#A55AF4
ΔE00 5.50
Lightish Purple
#A552E6
ΔE00 6.73
Mediumpurple
#9370DB
ΔE00 7.45
Light Indigo
#6D5ACF
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#865CFC #D2FC5C
analogous
#5C82FC #865CFC #D65CFC
triadic
#865CFC #FC865C #5CFC86
tetradic
#865CFC #FC5C82 #D2FC5C #5CFCD6
square
#865CFC #FC5C82 #D2FC5C #5CFCD6
split-complementary
#865CFC #FCD65C #82FC5C
monochromatic
#3C04DA #5920FB #865CFC #B398FD #DFD4FE
Accessibility & contrast
On white
4.24
#865CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#865CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #865CFC
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##865CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##865CFC | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#6082A4
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #865cfc; /* rgb */ color: rgb(134, 92, 252); /* oklch */ color: oklch(60.5% 0.226 290.0);
Tailwind
colors: {
custom: {
50: '#b28cfe',
500: '#865cfc',
950: '#000000',
},
}SCSS
$custom: #865cfc; $custom-light: #b28cfe; $custom-dark: #000000;
JSON
{
"hex": "#865cfc",
"rgb": {
"r": 134,
"g": 92,
"b": 252
},
"hsl": {
"h": 255.75,
"s": 96.386,
"l": 67.451
},
"oklch": {
"l": 0.60546,
"c": 0.22591,
"h": 290
},
"luminance": 0.19751
}Semantic roles & 50–950 ramp
primary
#865CFC
secondary
#E6F3C1
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86