#B381CF#B381CF
#B381CF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.1% C 0.124 H 312.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B381CF |
|---|---|
| RGB | rgb(179, 129, 207) |
| HSL | hsl(278, 45%, 66%) |
| HSV | hsv(278, 38%, 81%) |
| CMYK | cmyk(13.5%, 37.7%, 0%, 18.8%) |
| CIE-LAB | lab(61.47, 33.44, -32.89) |
| CIE-LCH | lch(61.47, 46.91, 315.47°) |
| OKLab | oklab(68.13% 0.0839 -0.0907) |
| OKLCH | oklch(68.13% 0.124 312.8) |
| XYZ | xyz(37.7013, 29.7899, 62.7833) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.85
Pale Purple
#B790D4
ΔE00 4.25
Orchid (survey)
#C875C4
ΔE00 6.27
Soft Purple
#A66FB5
ΔE00 6.43
Light Purple
#BF77F6
ΔE00 7.34
Deep Lilac
#966EBD
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381CF #9DCF81
analogous
#8C81CF #B381CF #CF81C4
triadic
#B381CF #CFB381 #81CFB3
tetradic
#B381CF #CF8C81 #9DCF81 #81C4CF
square
#B381CF #CF8C81 #9DCF81 #81C4CF
split-complementary
#B381CF #C4CF81 #81CF8C
monochromatic
#783B9B #9855BE #B381CF #CEADE0 #E8DAF1
Accessibility & contrast
On white
3.02
#B381CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B381CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B381CF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381CF | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7392D2
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#B18C9E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b381cf; /* rgb */ color: rgb(179, 129, 207); /* oklch */ color: oklch(68.1% 0.124 312.8);
Tailwind
colors: {
custom: {
50: '#cba6de',
500: '#b381cf',
950: '#000000',
},
}SCSS
$custom: #b381cf; $custom-light: #cba6de; $custom-dark: #000000;
JSON
{
"hex": "#b381cf",
"rgb": {
"r": 179,
"g": 129,
"b": 207
},
"hsl": {
"h": 278.462,
"s": 44.828,
"l": 65.882
},
"oklch": {
"l": 0.68128,
"c": 0.12356,
"h": 312.8
},
"luminance": 0.29789
}Semantic roles & 50–950 ramp
primary
#B381CF
secondary
#D2E3C9
accent
#B82E5F
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83