#8A65C8#8A65C8
#8A65C8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.8% C 0.149 H 299.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A65C8 |
|---|---|
| RGB | rgb(138, 101, 200) |
| HSL | hsl(262, 47%, 59%) |
| HSV | hsv(262, 50%, 78%) |
| CMYK | cmyk(31%, 49.5%, 0%, 21.6%) |
| CIE-LAB | lab(50.55, 35.88, -46.39) |
| CIE-LCH | lch(50.55, 58.65, 307.72°) |
| OKLab | oklab(58.84% 0.0724 -0.1306) |
| OKLCH | oklch(58.84% 0.149 299) |
| XYZ | xyz(25.5578, 18.8806, 56.9302) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.96
Mediumpurple
#9370DB
ΔE00 4.58
Amethyst
#9B5FC0
ΔE00 4.69
Deep Lilac
#966EBD
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A65C8 #A3C865
analogous
#6572C8 #8A65C8 #BB65C8
triadic
#8A65C8 #C88A65 #65C88A
tetradic
#8A65C8 #C86572 #A3C865 #65C8BB
square
#8A65C8 #C86572 #A3C865 #65C8BB
split-complementary
#8A65C8 #C8BB65 #72C865
monochromatic
#4F2F84 #6A3FB1 #8A65C8 #AC92D8 #CFBFE8
Accessibility & contrast
On white
4.40
#8A65C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8A65C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A65C8
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A65C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A65C8 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#4D77C6
Tritanopia (blue-blind)
#7D788D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8a65c8; /* rgb */ color: rgb(138, 101, 200); /* oklch */ color: oklch(58.8% 0.149 299.0);
Tailwind
colors: {
custom: {
50: '#af92d9',
500: '#8a65c8',
950: '#000000',
},
}SCSS
$custom: #8a65c8; $custom-light: #af92d9; $custom-dark: #000000;
JSON
{
"hex": "#8a65c8",
"rgb": {
"r": 138,
"g": 101,
"b": 200
},
"hsl": {
"h": 262.424,
"s": 47.368,
"l": 59.02
},
"oklch": {
"l": 0.58843,
"c": 0.14935,
"h": 299
},
"luminance": 0.18881
}Semantic roles & 50–950 ramp
primary
#8A65C8
secondary
#C9D8B1
accent
#D751A5
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D15
muted
#807E83