#8235B2#8235B2
#8235B2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.192 H 309.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8235B2 |
|---|---|
| RGB | rgb(130, 53, 178) |
| HSL | hsl(277, 54%, 45%) |
| HSV | hsv(277, 70%, 70%) |
| CMYK | cmyk(27%, 70.2%, 0%, 30.2%) |
| CIE-LAB | lab(38.74, 53.90, -52.55) |
| CIE-LCH | lch(38.74, 75.28, 315.73°) |
| OKLab | oklab(49.57% 0.1215 -0.1488) |
| OKLCH | oklch(49.57% 0.192 309.2) |
| XYZ | xyz(18.5133, 10.5067, 43.1636) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.11
Purple (survey)
#7E1E9C
ΔE00 5.21
Purply
#983FB2
ΔE00 5.29
Darkviolet
#9400D3
ΔE00 5.76
Rebeccapurple
#663399
ΔE00 5.94
Blueviolet
#8A2BE2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8235B2 #65B235
analogous
#4335B2 #8235B2 #B235A3
triadic
#8235B2 #B28235 #35B282
tetradic
#8235B2 #B24335 #65B235 #35A3B2
square
#8235B2 #B24335 #65B235 #35A3B2
split-complementary
#8235B2 #A3B235 #35B243
monochromatic
#3D1954 #602783 #8235B2 #A057CD #BB86DB
Accessibility & contrast
On white
6.77
#8235B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8235B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8235B2
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8235B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8235B2 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#7B5170
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8235b2; /* rgb */ color: rgb(130, 53, 178); /* oklch */ color: oklch(49.6% 0.192 309.2);
Tailwind
colors: {
custom: {
50: '#ab73ca',
500: '#8235b2',
950: '#000000',
},
}SCSS
$custom: #8235b2; $custom-light: #ab73ca; $custom-dark: #000000;
JSON
{
"hex": "#8235b2",
"rgb": {
"r": 130,
"g": 53,
"b": 178
},
"hsl": {
"h": 276.96,
"s": 54.113,
"l": 45.294
},
"oklch": {
"l": 0.49568,
"c": 0.19211,
"h": 309.2
},
"luminance": 0.10506
}Semantic roles & 50–950 ramp
primary
#8235B2
secondary
#99C57E
accent
#DD4A83
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82