#865CF2#865CF2
#865CF2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.214 H 291.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #865CF2 |
|---|---|
| RGB | rgb(134, 92, 242) |
| HSL | hsl(257, 85%, 65%) |
| HSV | hsv(257, 62%, 95%) |
| CMYK | cmyk(44.6%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(50.84, 51.11, -69.71) |
| CIE-LCH | lch(50.84, 86.44, 306.25°) |
| OKLab | oklab(59.81% 0.0783 -0.1992) |
| OKLCH | oklch(59.81% 0.214 291.5) |
| XYZ | xyz(29.6812, 19.1324, 86.1162) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.70
Mediumslateblue
#7B68EE
ΔE00 3.79
Lighter Purple
#A55AF4
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 6.20
Light Indigo
#6D5ACF
ΔE00 6.59
Mediumpurple
#9370DB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#865CF2 #C8F25C
analogous
#5C7DF2 #865CF2 #D15CF2
triadic
#865CF2 #F2865C #5CF286
tetradic
#865CF2 #F25C7D #C8F25C #5CF2D1
square
#865CF2 #F25C7D #C8F25C #5CF2D1
split-complementary
#865CF2 #F2D15C #7DF25C
monochromatic
#4210C4 #5C23ED #865CF2 #B095F7 #DACDFB
Accessibility & contrast
On white
4.35
#865CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#865CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #865CF2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##865CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##865CF2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#667F9F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #865cf2; /* rgb */ color: rgb(134, 92, 242); /* oklch */ color: oklch(59.8% 0.214 291.5);
Tailwind
colors: {
custom: {
50: '#b08cf7',
500: '#865cf2',
950: '#000000',
},
}SCSS
$custom: #865cf2; $custom-light: #b08cf7; $custom-dark: #000000;
JSON
{
"hex": "#865cf2",
"rgb": {
"r": 134,
"g": 92,
"b": 242
},
"hsl": {
"h": 256.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.59806,
"c": 0.21408,
"h": 291.5
},
"luminance": 0.19133
}Semantic roles & 50–950 ramp
primary
#865CF2
secondary
#E0EEBC
accent
#E204A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85