#8A65C2#8A65C2
#8A65C2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.5% C 0.142 H 300.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A65C2 |
|---|---|
| RGB | rgb(138, 101, 194) |
| HSL | hsl(264, 43%, 58%) |
| HSV | hsv(264, 48%, 76%) |
| CMYK | cmyk(28.9%, 47.9%, 0%, 23.9%) |
| CIE-LAB | lab(50.22, 34.36, -43.46) |
| CIE-LCH | lch(50.22, 55.40, 308.34°) |
| OKLab | oklab(58.5% 0.0718 -0.1221) |
| OKLCH | oklch(58.5% 0.142 300.5) |
| XYZ | xyz(24.8703, 18.6056, 53.3095) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.13
Amethyst
#9B5FC0
ΔE00 4.24
Deep Lilac
#966EBD
ΔE00 4.38
Mediumpurple
#9370DB
ΔE00 5.29
Purpley
#8756E4
ΔE00 6.85
Light Indigo
#6D5ACF
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A65C2 #9DC265
analogous
#656EC2 #8A65C2 #B865C2
triadic
#8A65C2 #C28A65 #65C28A
tetradic
#8A65C2 #C2656E #9DC265 #65C2B8
square
#8A65C2 #C2656E #9DC265 #65C2B8
split-complementary
#8A65C2 #C2B865 #6EC265
monochromatic
#4F317C #6B42A7 #8A65C2 #AB91D3 #CDBDE5
Accessibility & contrast
On white
4.45
#8A65C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#8A65C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A65C2
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A65C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A65C2 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#7F768A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a65c2; /* rgb */ color: rgb(138, 101, 194); /* oklch */ color: oklch(58.5% 0.142 300.5);
Tailwind
colors: {
custom: {
50: '#ae91d5',
500: '#8a65c2',
950: '#000000',
},
}SCSS
$custom: #8a65c2; $custom-light: #ae91d5; $custom-dark: #000000;
JSON
{
"hex": "#8a65c2",
"rgb": {
"r": 138,
"g": 101,
"b": 194
},
"hsl": {
"h": 263.871,
"s": 43.256,
"l": 57.843
},
"oklch": {
"l": 0.58495,
"c": 0.14159,
"h": 300.5
},
"luminance": 0.18606
}Semantic roles & 50–950 ramp
primary
#8A65C2
secondary
#C5D4AF
accent
#D355A1
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83