#865FF2#865FF2
#865FF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.210 H 291.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #865FF2 |
|---|---|
| RGB | rgb(134, 95, 242) |
| HSL | hsl(256, 85%, 66%) |
| HSV | hsv(256, 61%, 95%) |
| CMYK | cmyk(44.6%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(51.45, 49.48, -68.72) |
| CIE-LCH | lch(51.45, 84.68, 305.75°) |
| OKLab | oklab(60.25% 0.0752 -0.1963) |
| OKLCH | oklch(60.25% 0.21 291) |
| XYZ | xyz(29.9463, 19.6625, 86.2046) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.16
Purpley
#8756E4
ΔE00 3.31
Lighter Purple
#A55AF4
ΔE00 5.43
Mediumpurple
#9370DB
ΔE00 6.35
Lightish Purple
#A552E6
ΔE00 6.49
Light Indigo
#6D5ACF
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#865FF2 #CBF25F
analogous
#5F81F2 #865FF2 #CF5FF2
triadic
#865FF2 #F2865F #5FF286
tetradic
#865FF2 #F25F81 #CBF25F #5FF2CF
square
#865FF2 #F25F81 #CBF25F #5FF2CF
split-complementary
#865FF2 #F2CF5F #81F25F
monochromatic
#4110C6 #5B26ED #865FF2 #B198F7 #DCD0FB
Accessibility & contrast
On white
4.26
#865FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#865FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #865FF2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##865FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##865FF2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#6681A0
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #865ff2; /* rgb */ color: rgb(134, 95, 242); /* oklch */ color: oklch(60.3% 0.210 291.0);
Tailwind
colors: {
custom: {
50: '#b08ef7',
500: '#865ff2',
950: '#000000',
},
}SCSS
$custom: #865ff2; $custom-light: #b08ef7; $custom-dark: #000000;
JSON
{
"hex": "#865ff2",
"rgb": {
"r": 134,
"g": 95,
"b": 242
},
"hsl": {
"h": 255.918,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.60252,
"c": 0.21023,
"h": 291
},
"luminance": 0.19664
}Semantic roles & 50–950 ramp
primary
#865FF2
secondary
#E2EFBE
accent
#E104A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85