#B950C8#B950C8
#B950C8 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.199 H 322.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B950C8 |
|---|---|
| RGB | rgb(185, 80, 200) |
| HSL | hsl(293, 52%, 55%) |
| HSV | hsv(293, 60%, 78%) |
| CMYK | cmyk(7.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(52.09, 59.00, -43.59) |
| CIE-LCH | lch(52.09, 73.35, 323.54°) |
| OKLab | oklab(61.21% 0.1578 -0.1211) |
| OKLCH | oklch(61.21% 0.199 322.5) |
| XYZ | xyz(33.3005, 20.2234, 56.7818) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.12
Pinky Purple
#C94CBE
ΔE00 3.97
Purpley Pink
#C83CB9
ΔE00 4.71
Pinkish Purple
#D648D7
ΔE00 5.02
Purple Pink
#D725DE
ΔE00 5.68
Amethyst
#9B5FC0
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B950C8 #5FC850
analogous
#7D50C8 #B950C8 #C8509B
triadic
#B950C8 #C8B950 #50C8B9
tetradic
#B950C8 #C87D50 #5FC850 #509BC8
square
#B950C8 #C87D50 #5FC850 #509BC8
split-complementary
#B950C8 #9BC850 #50C87D
monochromatic
#6E2678 #9834A6 #B950C8 #CC7FD7 #DEADE5
Accessibility & contrast
On white
4.16
#B950C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#B950C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B950C8
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B950C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B950C8 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#BB6285
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b950c8; /* rgb */ color: rgb(185, 80, 200); /* oklch */ color: oklch(61.2% 0.199 322.5);
Tailwind
colors: {
custom: {
50: '#d187d9',
500: '#b950c8',
950: '#000000',
},
}SCSS
$custom: #b950c8; $custom-light: #d187d9; $custom-dark: #000000;
JSON
{
"hex": "#b950c8",
"rgb": {
"r": 185,
"g": 80,
"b": 200
},
"hsl": {
"h": 292.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.61209,
"c": 0.19891,
"h": 322.5
},
"luminance": 0.20222
}Semantic roles & 50–950 ramp
primary
#B950C8
secondary
#A7D3A1
accent
#DC4C5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83