#903CB7#903CB7
#903CB7 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.5% C 0.193 H 313.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #903CB7 |
|---|---|
| RGB | rgb(144, 60, 183) |
| HSL | hsl(281, 51%, 48%) |
| HSV | hsv(281, 67%, 72%) |
| CMYK | cmyk(21.3%, 67.2%, 0%, 28.2%) |
| CIE-LAB | lab(42.12, 54.88, -49.94) |
| CIE-LCH | lch(42.12, 74.21, 317.70°) |
| OKLab | oklab(52.51% 0.1317 -0.1407) |
| OKLCH | oklch(52.51% 0.193 313.1) |
| XYZ | xyz(21.6632, 12.5805, 46.0777) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.29
Darkorchid
#9932CC
ΔE00 3.33
Barney
#AC1DB8
ΔE00 5.40
Medium Purple
#9E43A2
ΔE00 6.05
Darkviolet
#9400D3
ΔE00 6.35
Royal Purple
#7851A9
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#903CB7 #63B73C
analogous
#533CB7 #903CB7 #B73CA0
triadic
#903CB7 #B7903C #3CB790
tetradic
#903CB7 #B7533C #63B73C #3CA0B7
square
#903CB7 #B7533C #63B73C #3CA0B7
split-complementary
#903CB7 #A0B73C #3CB753
monochromatic
#471E5B #6C2D89 #903CB7 #AB64CC #C492DB
Accessibility & contrast
On white
5.97
#903CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#903CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #903CB7
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##903CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##903CB7 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#8C5575
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #903cb7; /* rgb */ color: rgb(144, 60, 183); /* oklch */ color: oklch(52.5% 0.193 313.1);
Tailwind
colors: {
custom: {
50: '#b478cd',
500: '#903cb7',
950: '#000000',
},
}SCSS
$custom: #903cb7; $custom-light: #b478cd; $custom-dark: #000000;
JSON
{
"hex": "#903cb7",
"rgb": {
"r": 144,
"g": 60,
"b": 183
},
"hsl": {
"h": 280.976,
"s": 50.617,
"l": 47.647
},
"oklch": {
"l": 0.52505,
"c": 0.19273,
"h": 313.1
},
"luminance": 0.1258
}Semantic roles & 50–950 ramp
primary
#903CB7
secondary
#9CC688
accent
#DA4E7A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82