#893BAF#893BAF
#893BAF is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 312.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #893BAF |
|---|---|
| RGB | rgb(137, 59, 175) |
| HSL | hsl(280, 50%, 46%) |
| HSV | hsv(280, 66%, 69%) |
| CMYK | cmyk(21.7%, 66.3%, 0%, 31.4%) |
| CIE-LAB | lab(40.48, 52.04, -47.91) |
| CIE-LCH | lch(40.48, 70.74, 317.36°) |
| OKLab | oklab(50.96% 0.1244 -0.135) |
| OKLCH | oklch(50.96% 0.184 312.7) |
| XYZ | xyz(19.6170, 11.5420, 41.7436) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.27
Darkorchid
#9932CC
ΔE00 4.70
Purple (survey)
#7E1E9C
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.25
Barney
#AC1DB8
ΔE00 6.29
Medium Purple
#9E43A2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893BAF #61AF3B
analogous
#4F3BAF #893BAF #AF3B9B
triadic
#893BAF #AF893B #3BAF89
tetradic
#893BAF #AF4F3B #61AF3B #3B9BAF
square
#893BAF #AF4F3B #61AF3B #3B9BAF
split-complementary
#893BAF #9BAF3B #3BAF4F
monochromatic
#411C53 #652C81 #893BAF #A65EC9 #BF8CD8
Accessibility & contrast
On white
6.35
#893BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#893BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #893BAF
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893BAF | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#855270
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #893baf; /* rgb */ color: rgb(137, 59, 175); /* oklch */ color: oklch(51.0% 0.184 312.7);
Tailwind
colors: {
custom: {
50: '#af76c7',
500: '#893baf',
950: '#000000',
},
}SCSS
$custom: #893baf; $custom-light: #af76c7; $custom-dark: #000000;
JSON
{
"hex": "#893baf",
"rgb": {
"r": 137,
"g": 59,
"b": 175
},
"hsl": {
"h": 280.345,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.50955,
"c": 0.18353,
"h": 312.7
},
"luminance": 0.11541
}Semantic roles & 50–950 ramp
primary
#893BAF
secondary
#98C383
accent
#D94F7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82