#912FB3#912FB3
#912FB3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.205 H 315.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #912FB3 |
|---|---|
| RGB | rgb(145, 47, 179) |
| HSL | hsl(285, 58%, 44%) |
| HSV | hsv(285, 74%, 70%) |
| CMYK | cmyk(19%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(40.09, 59.66, -50.84) |
| CIE-LCH | lch(40.09, 78.38, 319.56°) |
| OKLab | oklab(51% 0.1469 -0.1432) |
| OKLCH | oklch(51% 0.205 315.7) |
| XYZ | xyz(20.8290, 11.3082, 43.7246) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.57
Darkorchid
#9932CC
ΔE00 4.00
Barney
#AC1DB8
ΔE00 4.68
Darkviolet
#9400D3
ΔE00 5.31
Purple (survey)
#7E1E9C
ΔE00 5.64
Barney Purple
#A00498
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912FB3 #51B32F
analogous
#4F2FB3 #912FB3 #B32F93
triadic
#912FB3 #B3912F #2FB391
tetradic
#912FB3 #B34F2F #51B32F #2F93B3
square
#912FB3 #B34F2F #51B32F #2F93B3
split-complementary
#912FB3 #93B32F #2FB34F
monochromatic
#421652 #6A2283 #912FB3 #AF4FD1 #C57FDD
Accessibility & contrast
On white
6.44
#912FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#912FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #912FB3
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912FB3 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#8F4B6F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #912fb3; /* rgb */ color: rgb(145, 47, 179); /* oklch */ color: oklch(51.0% 0.205 315.7);
Tailwind
colors: {
custom: {
50: '#b571ca',
500: '#912fb3',
950: '#000000',
},
}SCSS
$custom: #912fb3; $custom-light: #b571ca; $custom-dark: #000000;
JSON
{
"hex": "#912fb3",
"rgb": {
"r": 145,
"g": 47,
"b": 179
},
"hsl": {
"h": 284.545,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.51002,
"c": 0.20518,
"h": 315.7
},
"luminance": 0.11307
}Semantic roles & 50–950 ramp
primary
#912FB3
secondary
#8CC678
accent
#E2466E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82