#B949E2#B949E2
#B949E2 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.232 H 315.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B949E2 |
|---|---|
| RGB | rgb(185, 73, 226) |
| HSL | hsl(284, 73%, 59%) |
| HSV | hsv(284, 68%, 89%) |
| CMYK | cmyk(18.1%, 67.7%, 0%, 11.4%) |
| CIE-LAB | lab(52.48, 66.99, -57.78) |
| CIE-LCH | lch(52.48, 88.46, 319.22°) |
| OKLab | oklab(61.96% 0.1655 -0.1625) |
| OKLCH | oklch(61.96% 0.232 315.5) |
| XYZ | xyz(36.1154, 20.5717, 74.0051) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.26
Lightish Purple
#A552E6
ΔE00 3.76
Hot Purple
#CB00F5
ΔE00 5.01
Purple Pink
#D725DE
ΔE00 5.26
Lighter Purple
#A55AF4
ΔE00 5.46
Neon Purple
#BC13FE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B949E2 #72E249
analogous
#6C49E2 #B949E2 #E249BE
triadic
#B949E2 #E2B949 #49E2B9
tetradic
#B949E2 #E26C49 #72E249 #49BEE2
square
#B949E2 #E26C49 #72E249 #49BEE2
split-complementary
#B949E2 #BEE249 #49E26C
monochromatic
#761898 #9F21CD #B949E2 #CD7EEA #E2B3F3
Accessibility & contrast
On white
4.11
#B949E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#B949E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B949E2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B949E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B949E2 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#B66790
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b949e2; /* rgb */ color: rgb(185, 73, 226); /* oklch */ color: oklch(62.0% 0.232 315.5);
Tailwind
colors: {
custom: {
50: '#d284ec',
500: '#b949e2',
950: '#000000',
},
}SCSS
$custom: #b949e2; $custom-light: #d284ec; $custom-dark: #000000;
JSON
{
"hex": "#b949e2",
"rgb": {
"r": 185,
"g": 73,
"b": 226
},
"hsl": {
"h": 283.922,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.61964,
"c": 0.23195,
"h": 315.5
},
"luminance": 0.2057
}Semantic roles & 50–950 ramp
primary
#B949E2
secondary
#B5E2A5
accent
#EF396A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84