#8A336D#8A336D
#8A336D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.137 H 342.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8A336D |
|---|---|
| RGB | rgb(138, 51, 109) |
| HSL | hsl(320, 46%, 37%) |
| HSV | hsv(320, 63%, 54%) |
| CMYK | cmyk(0%, 63%, 21%, 45.9%) |
| CIE-LAB | lab(35.75, 43.67, -15.03) |
| CIE-LCH | lch(35.75, 46.18, 341.01°) |
| OKLab | oklab(46.4% 0.1306 -0.0401) |
| OKLCH | oklch(46.4% 0.137 342.9) |
| XYZ | xyz(14.4258, 8.8764, 15.4186) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.06
Red Violet
#9E0168
ΔE00 5.74
Light Eggplant
#894585
ΔE00 6.25
Grape
#6C3461
ΔE00 6.31
Deep Magenta
#A0025C
ΔE00 7.36
Warm Purple
#952E8F
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A336D #338A50
analogous
#7C338A #8A336D #8A3342
triadic
#8A336D #6D8A33 #336D8A
tetradic
#8A336D #8A7C33 #338A50 #33428A
square
#8A336D #8A7C33 #338A50 #33428A
split-complementary
#8A336D #428A33 #338A7C
monochromatic
#311226 #5D224A #8A336D #B74490 #C96EAB
Accessibility & contrast
On white
7.57
#8A336D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#8A336D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A336D
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A336D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A336D | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#53596B
Tritanopia (blue-blind)
#92334B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8a336d; /* rgb */ color: rgb(138, 51, 109); /* oklch */ color: oklch(46.4% 0.137 342.9);
Tailwind
colors: {
custom: {
50: '#af7097',
500: '#8a336d',
950: '#000000',
},
}SCSS
$custom: #8a336d; $custom-light: #af7097; $custom-dark: #000000;
JSON
{
"hex": "#8a336d",
"rgb": {
"r": 138,
"g": 51,
"b": 109
},
"hsl": {
"h": 320,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.46399,
"c": 0.13661,
"h": 342.9
},
"luminance": 0.08875
}Semantic roles & 50–950 ramp
primary
#8A336D
secondary
#67B180
accent
#D67E52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E