#8239B7#8239B7
#8239B7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.192 H 307.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8239B7 |
|---|---|
| RGB | rgb(130, 57, 183) |
| HSL | hsl(275, 53%, 47%) |
| HSV | hsv(275, 69%, 72%) |
| CMYK | cmyk(29%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(39.73, 53.22, -53.89) |
| CIE-LCH | lch(39.73, 75.74, 314.64°) |
| OKLab | oklab(50.39% 0.1166 -0.1527) |
| OKLCH | oklch(50.39% 0.192 307.4) |
| XYZ | xyz(19.2145, 11.0912, 45.9192) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Purply
#983FB2
ΔE00 5.17
Darkviolet
#9400D3
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 5.96
Purple (survey)
#7E1E9C
ΔE00 6.34
Royal Purple
#7851A9
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8239B7 #6EB739
analogous
#4339B7 #8239B7 #B739AD
triadic
#8239B7 #B78239 #39B782
tetradic
#8239B7 #B74339 #6EB739 #39ADB7
square
#8239B7 #B74339 #6EB739 #39ADB7
split-complementary
#8239B7 #ADB739 #39B743
monochromatic
#401C5A #612A88 #8239B7 #9F60CD #BB8EDC
Accessibility & contrast
On white
6.53
#8239B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#8239B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8239B7
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8239B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8239B7 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#185EB4
Tritanopia (blue-blind)
#795574
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8239b7; /* rgb */ color: rgb(130, 57, 183); /* oklch */ color: oklch(50.4% 0.192 307.4);
Tailwind
colors: {
custom: {
50: '#ab75cd',
500: '#8239b7',
950: '#000000',
},
}SCSS
$custom: #8239b7; $custom-light: #ab75cd; $custom-dark: #000000;
JSON
{
"hex": "#8239b7",
"rgb": {
"r": 130,
"g": 57,
"b": 183
},
"hsl": {
"h": 274.762,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.5039,
"c": 0.19218,
"h": 307.4
},
"luminance": 0.11091
}Semantic roles & 50–950 ramp
primary
#8239B7
secondary
#A1C785
accent
#DC4C88
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82