#942699#942699
#942699 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 326.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #942699 |
|---|---|
| RGB | rgb(148, 38, 153) |
| HSL | hsl(297, 60%, 37%) |
| HSV | hsv(297, 75%, 60%) |
| CMYK | cmyk(3.3%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(37.81, 58.62, -38.90) |
| CIE-LCH | lch(37.81, 70.36, 326.44°) |
| OKLab | oklab(48.95% 0.1611 -0.1081) |
| OKLCH | oklch(48.95% 0.194 326.1) |
| XYZ | xyz(18.6553, 9.9833, 31.0752) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.56
Barney Purple
#A00498
ΔE00 2.73
Darkmagenta
#8B008B
ΔE00 4.47
Purple (survey)
#7E1E9C
ΔE00 5.22
Barney
#AC1DB8
ΔE00 5.77
Purply
#983FB2
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942699 #2B9926
analogous
#5A2699 #942699 #992665
triadic
#942699 #999426 #269994
tetradic
#942699 #995A26 #2B9926 #266599
square
#942699 #995A26 #2B9926 #266599
split-complementary
#942699 #659926 #26995A
monochromatic
#350E37 #651A68 #942699 #C332CA #D362D8
Accessibility & contrast
On white
7.01
#942699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#942699 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #942699
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942699 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#983A5E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #942699; /* rgb */ color: rgb(148, 38, 153); /* oklch */ color: oklch(48.9% 0.194 326.1);
Tailwind
colors: {
custom: {
50: '#b76db7',
500: '#942699',
950: '#000000',
},
}SCSS
$custom: #942699; $custom-light: #b76db7; $custom-dark: #000000;
JSON
{
"hex": "#942699",
"rgb": {
"r": 148,
"g": 38,
"b": 153
},
"hsl": {
"h": 297.391,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.48947,
"c": 0.19402,
"h": 326.1
},
"luminance": 0.09982
}Semantic roles & 50–950 ramp
primary
#942699
secondary
#62BD5E
accent
#E3444B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80