#865AF3#865AF3
#865AF3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.218 H 291.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #865AF3 |
|---|---|
| RGB | rgb(134, 90, 243) |
| HSL | hsl(257, 86%, 65%) |
| HSV | hsv(257, 63%, 95%) |
| CMYK | cmyk(44.9%, 63%, 0%, 4.7%) |
| CIE-LAB | lab(50.51, 52.45, -70.81) |
| CIE-LCH | lch(50.51, 88.12, 306.53°) |
| OKLab | oklab(59.59% 0.0803 -0.2024) |
| OKLCH | oklch(59.59% 0.218 291.6) |
| XYZ | xyz(29.6608, 18.8507, 86.8524) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.48
Mediumslateblue
#7B68EE
ΔE00 4.22
Lighter Purple
#A55AF4
ΔE00 5.45
Lightish Purple
#A552E6
ΔE00 6.10
Light Indigo
#6D5ACF
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#865AF3 #C7F35A
analogous
#5A7AF3 #865AF3 #D35AF3
triadic
#865AF3 #F3865A #5AF386
tetradic
#865AF3 #F35A7A #C7F35A #5AF3D3
square
#865AF3 #F35A7A #C7F35A #5AF3D3
split-complementary
#865AF3 #F3D35A #7AF35A
monochromatic
#430EC4 #5C21EF #865AF3 #B093F7 #DACCFB
Accessibility & contrast
On white
4.40
#865AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#865AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #865AF3
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##865AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##865AF3 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#657E9E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #865af3; /* rgb */ color: rgb(134, 90, 243); /* oklch */ color: oklch(59.6% 0.218 291.6);
Tailwind
colors: {
custom: {
50: '#b18bf8',
500: '#865af3',
950: '#000000',
},
}SCSS
$custom: #865af3; $custom-light: #b18bf8; $custom-dark: #000000;
JSON
{
"hex": "#865af3",
"rgb": {
"r": 134,
"g": 90,
"b": 243
},
"hsl": {
"h": 257.255,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.59589,
"c": 0.2178,
"h": 291.6
},
"luminance": 0.18852
}Semantic roles & 50–950 ramp
primary
#865AF3
secondary
#DFEEBB
accent
#E303A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85