#8236AF#8236AF
#8236AF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.188 H 310.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8236AF |
|---|---|
| RGB | rgb(130, 54, 175) |
| HSL | hsl(278, 53%, 45%) |
| HSV | hsv(278, 69%, 69%) |
| CMYK | cmyk(25.7%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.69, 52.78, -50.84) |
| CIE-LCH | lch(38.69, 73.29, 316.07°) |
| OKLab | oklab(49.47% 0.1208 -0.1438) |
| OKLCH | oklch(49.47% 0.188 310) |
| XYZ | xyz(18.2614, 10.4797, 41.6099) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.04
Purply
#983FB2
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.37
Rebeccapurple
#663399
ΔE00 5.80
Darkviolet
#9400D3
ΔE00 6.18
Royal Purple
#7851A9
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8236AF #63AF36
analogous
#4636AF #8236AF #AF369F
triadic
#8236AF #AF8236 #36AF82
tetradic
#8236AF #AF4636 #63AF36 #369FAF
square
#8236AF #AF4636 #63AF36 #369FAF
split-complementary
#8236AF #9FAF36 #36AF46
monochromatic
#3D1951 #5F2880 #8236AF #A057CB #BA86DA
Accessibility & contrast
On white
6.78
#8236AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8236AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8236AF
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8236AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8236AF | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#225CAC
Tritanopia (blue-blind)
#7C506E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8236af; /* rgb */ color: rgb(130, 54, 175); /* oklch */ color: oklch(49.5% 0.188 310.0);
Tailwind
colors: {
custom: {
50: '#aa73c8',
500: '#8236af',
950: '#000000',
},
}SCSS
$custom: #8236af; $custom-light: #aa73c8; $custom-dark: #000000;
JSON
{
"hex": "#8236af",
"rgb": {
"r": 130,
"g": 54,
"b": 175
},
"hsl": {
"h": 277.686,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.49469,
"c": 0.18779,
"h": 310
},
"luminance": 0.10479
}Semantic roles & 50–950 ramp
primary
#8236AF
secondary
#97C37D
accent
#DC4C81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82