#892DC3#892DC3
#892DC3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.220 H 308.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #892DC3 |
|---|---|
| RGB | rgb(137, 45, 195) |
| HSL | hsl(277, 63%, 47%) |
| HSV | hsv(277, 77%, 76%) |
| CMYK | cmyk(29.7%, 76.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.81, 62.21, -60.77) |
| CIE-LCH | lch(39.81, 86.97, 315.67°) |
| OKLab | oklab(50.92% 0.1356 -0.1726) |
| OKLCH | oklch(50.92% 0.22 308.1) |
| XYZ | xyz(21.1032, 11.1356, 52.6568) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.33
Darkorchid
#9932CC
ΔE00 3.42
Blueviolet
#8A2BE2
ΔE00 4.24
Violet (survey)
#9A0EEA
ΔE00 5.32
Purply
#983FB2
ΔE00 5.89
Vibrant Purple
#AD03DE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892DC3 #67C32D
analogous
#3E2DC3 #892DC3 #C32DB2
triadic
#892DC3 #C3892D #2DC389
tetradic
#892DC3 #C33E2D #67C32D #2DB2C3
square
#892DC3 #C33E2D #67C32D #2DB2C3
split-complementary
#892DC3 #B2C32D #2DC33E
monochromatic
#431660 #662291 #892DC3 #A555D8 #C087E3
Accessibility & contrast
On white
6.51
#892DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#892DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #892DC3
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892DC3 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#805277
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #892dc3; /* rgb */ color: rgb(137, 45, 195); /* oklch */ color: oklch(50.9% 0.220 308.1);
Tailwind
colors: {
custom: {
50: '#b170d6',
500: '#892dc3',
950: '#000000',
},
}SCSS
$custom: #892dc3; $custom-light: #b170d6; $custom-dark: #000000;
JSON
{
"hex": "#892dc3",
"rgb": {
"r": 137,
"g": 45,
"b": 195
},
"hsl": {
"h": 276.8,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.5092,
"c": 0.21953,
"h": 308.1
},
"luminance": 0.11135
}Semantic roles & 50–950 ramp
primary
#892DC3
secondary
#9DCD7F
accent
#E64281
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83