#903BBD#903BBD
#903BBD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.8% C 0.200 H 311.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #903BBD |
|---|---|
| RGB | rgb(144, 59, 189) |
| HSL | hsl(279, 52%, 49%) |
| HSV | hsv(279, 69%, 74%) |
| CMYK | cmyk(23.8%, 68.8%, 0%, 25.9%) |
| CIE-LAB | lab(42.36, 56.61, -53.09) |
| CIE-LCH | lch(42.36, 77.61, 316.84°) |
| OKLab | oklab(52.8% 0.1323 -0.1499) |
| OKLCH | oklch(52.8% 0.2 311.4) |
| XYZ | xyz(22.2492, 12.7319, 49.4197) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.51
Purply
#983FB2
ΔE00 3.03
Barney
#AC1DB8
ΔE00 5.64
Darkviolet
#9400D3
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 5.81
Vibrant Purple
#AD03DE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903BBD #68BD3B
analogous
#4F3BBD #903BBD #BD3BA9
triadic
#903BBD #BD903B #3BBD90
tetradic
#903BBD #BD4F3B #68BD3B #3BA9BD
square
#903BBD #BD4F3B #68BD3B #3BA9BD
split-complementary
#903BBD #A9BD3B #3BBD4F
monochromatic
#491E60 #6C2C8E #903BBD #AB66CF #C495DE
Accessibility & contrast
On white
5.92
#903BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#903BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903BBD
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903BBD | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#8A5678
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #903bbd; /* rgb */ color: rgb(144, 59, 189); /* oklch */ color: oklch(52.8% 0.200 311.4);
Tailwind
colors: {
custom: {
50: '#b578d2',
500: '#903bbd',
950: '#000000',
},
}SCSS
$custom: #903bbd; $custom-light: #b578d2; $custom-dark: #000000;
JSON
{
"hex": "#903bbd",
"rgb": {
"r": 144,
"g": 59,
"b": 189
},
"hsl": {
"h": 279.231,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.52796,
"c": 0.19996,
"h": 311.4
},
"luminance": 0.12731
}Semantic roles & 50–950 ramp
primary
#903BBD
secondary
#A0C98B
accent
#DC4C7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83