#941F7B#941F7B
#941F7B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 338.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #941F7B |
|---|---|
| RGB | rgb(148, 31, 123) |
| HSL | hsl(313, 65%, 35%) |
| HSV | hsv(313, 79%, 58%) |
| CMYK | cmyk(0%, 79.1%, 16.9%, 42%) |
| CIE-LAB | lab(35.41, 56.05, -24.20) |
| CIE-LCH | lch(35.41, 61.05, 336.65°) |
| OKLab | oklab(46.7% 0.1664 -0.0657) |
| OKLCH | oklch(46.7% 0.179 338.5) |
| XYZ | xyz(16.2783, 8.7075, 19.5585) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Red Violet
#9E0168
ΔE00 5.22
Barney Purple
#A00498
ΔE00 5.49
Darkmagenta
#8B008B
ΔE00 5.73
Purple
#800080
ΔE00 6.49
Darkish Purple
#751973
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F7B #1F9438
analogous
#731F94 #941F7B #941F40
triadic
#941F7B #7B941F #1F7B94
tetradic
#941F7B #94731F #1F9438 #1F4094
square
#941F7B #94731F #1F9438 #1F4094
split-complementary
#941F7B #40941F #1F9473
monochromatic
#2F0A27 #611451 #941F7B #C72AA5 #DB53BE
Accessibility & contrast
On white
7.66
#941F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#941F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F7B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F7B | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#4E5A78
Tritanopia (blue-blind)
#9D254B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #941f7b; /* rgb */ color: rgb(148, 31, 123); /* oklch */ color: oklch(46.7% 0.179 338.5);
Tailwind
colors: {
custom: {
50: '#b769a1',
500: '#941f7b',
950: '#000000',
},
}SCSS
$custom: #941f7b; $custom-light: #b769a1; $custom-dark: #000000;
JSON
{
"hex": "#941f7b",
"rgb": {
"r": 148,
"g": 31,
"b": 123
},
"hsl": {
"h": 312.821,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.467,
"c": 0.17886,
"h": 338.5
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#941F7B
secondary
#51BE68
accent
#E8643F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E