#B38CD2#B38CD2
#B38CD2 is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.2% C 0.108 H 309.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B38CD2 |
|---|---|
| RGB | rgb(179, 140, 210) |
| HSL | hsl(273, 44%, 69%) |
| HSV | hsv(273, 33%, 82%) |
| CMYK | cmyk(14.8%, 33.3%, 0%, 17.6%) |
| CIE-LAB | lab(64.16, 27.94, -30.41) |
| CIE-LCH | lch(64.16, 41.30, 312.57°) |
| OKLab | oklab(70.21% 0.0685 -0.0837) |
| OKLCH | oklch(70.21% 0.108 309.3) |
| XYZ | xyz(39.5992, 32.9934, 65.2425) |
| Luminance | 0.3299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 1.26
Wisteria
#A87DC2
ΔE00 4.68
Lavender
#B39DDB
ΔE00 5.23
Lavender (survey)
#C79FEF
ΔE00 6.24
Baby Purple
#CA9BF7
ΔE00 6.84
Liliac
#C48EFD
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38CD2 #ABD28C
analogous
#908CD2 #B38CD2 #D28CCE
triadic
#B38CD2 #D2B38C #8CD2B3
tetradic
#B38CD2 #D2908C #ABD28C #8CCED2
square
#B38CD2 #D2908C #ABD28C #8CCED2
split-complementary
#B38CD2 #CED28C #8CD290
monochromatic
#7740A4 #9660C1 #B38CD2 #D0B8E3 #EDE4F4
Accessibility & contrast
On white
2.76
#B38CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#B38CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38CD2
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38CD2 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F9AD5
Deuteranopia (green-blind)
#889CD0
Tritanopia (blue-blind)
#AF96A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b38cd2; /* rgb */ color: rgb(179, 140, 210); /* oklch */ color: oklch(70.2% 0.108 309.3);
Tailwind
colors: {
custom: {
50: '#caaee0',
500: '#b38cd2',
950: '#000000',
},
}SCSS
$custom: #b38cd2; $custom-light: #caaee0; $custom-dark: #000000;
JSON
{
"hex": "#b38cd2",
"rgb": {
"r": 179,
"g": 140,
"b": 210
},
"hsl": {
"h": 273.429,
"s": 43.75,
"l": 68.627
},
"oklch": {
"l": 0.70206,
"c": 0.10811,
"h": 309.3
},
"luminance": 0.32993
}Semantic roles & 50–950 ramp
primary
#B38CD2
secondary
#DCE7D2
accent
#B72F6B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83