#945C8A#945C8A
#945C8A is a mid, moderate pink. Relative luminance 0.158; OKLCH L 55.3% C 0.097 H 333.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #945C8A |
|---|---|
| RGB | rgb(148, 92, 138) |
| HSL | hsl(311, 23%, 47%) |
| HSV | hsv(311, 38%, 58%) |
| CMYK | cmyk(0%, 37.8%, 6.8%, 42%) |
| CIE-LAB | lab(46.69, 30.24, -15.99) |
| CIE-LCH | lch(46.69, 34.21, 332.14°) |
| OKLab | oklab(55.25% 0.0864 -0.043) |
| OKLCH | oklch(55.25% 0.097 333.5) |
| XYZ | xyz(20.6272, 15.7862, 26.0004) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish
#94568C
ΔE00 2.26
Purpleish
#98568D
ΔE00 2.35
Light Plum
#9D5783
ΔE00 3.34
Dull Purple
#84597E
ΔE00 4.10
Dusky Purple
#895B7B
ΔE00 4.25
Dusty Purple
#825F87
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945C8A #5C9466
analogous
#825C94 #945C8A #945C6E
triadic
#945C8A #8A945C #5C8A94
tetradic
#945C8A #94825C #5C9466 #5C6E94
square
#945C8A #94825C #5C9466 #5C6E94
split-complementary
#945C8A #6E945C #5C9482
monochromatic
#492D44 #6E4567 #945C8A #AF7EA6 #C6A4C0
Accessibility & contrast
On white
5.05
#945C8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#945C8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #945C8A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##945C8A | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#995F6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #945c8a; /* rgb */ color: rgb(148, 92, 138); /* oklch */ color: oklch(55.3% 0.097 333.5);
Tailwind
colors: {
custom: {
50: '#b48bac',
500: '#945c8a',
950: '#000000',
},
}SCSS
$custom: #945c8a; $custom-light: #b48bac; $custom-dark: #000000;
JSON
{
"hex": "#945c8a",
"rgb": {
"r": 148,
"g": 92,
"b": 138
},
"hsl": {
"h": 310.714,
"s": 23.333,
"l": 47.059
},
"oklch": {
"l": 0.55251,
"c": 0.0965,
"h": 333.5
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#945C8A
secondary
#97B49D
accent
#C07868
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F