#B08CDC#B08CDC
#B08CDC is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.4% C 0.120 H 304.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B08CDC |
|---|---|
| RGB | rgb(176, 140, 220) |
| HSL | hsl(267, 53%, 71%) |
| HSV | hsv(267, 36%, 86%) |
| CMYK | cmyk(20%, 36.4%, 0%, 13.7%) |
| CIE-LAB | lab(64.29, 29.26, -35.80) |
| CIE-LCH | lch(64.29, 46.23, 309.25°) |
| OKLab | oklab(70.37% 0.0673 -0.0991) |
| OKLCH | oklch(70.37% 0.12 304.2) |
| XYZ | xyz(40.1982, 33.1537, 71.9779) |
| Luminance | 0.3315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.19
Lavender
#B39DDB
ΔE00 5.35
Wisteria
#A87DC2
ΔE00 5.74
Liliac
#C48EFD
ΔE00 5.78
Lavender (survey)
#C79FEF
ΔE00 5.91
Baby Purple
#CA9BF7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B08CDC #B8DC8C
analogous
#8C90DC #B08CDC #D88CDC
triadic
#B08CDC #DCB08C #8CDCB0
tetradic
#B08CDC #DC8C90 #B8DC8C #8CDCD8
square
#B08CDC #DC8C90 #B8DC8C #8CDCD8
split-complementary
#B08CDC #DCD88C #90DC8C
monochromatic
#7037B6 #905DCE #B08CDC #D0BBEA #EFE8F8
Accessibility & contrast
On white
2.75
#B08CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#B08CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B08CDC
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B08CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B08CDC | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#A998AA
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b08cdc; /* rgb */ color: rgb(176, 140, 220); /* oklch */ color: oklch(70.4% 0.120 304.2);
Tailwind
colors: {
custom: {
50: '#c9aee7',
500: '#b08cdc',
950: '#000000',
},
}SCSS
$custom: #b08cdc; $custom-light: #c9aee7; $custom-dark: #000000;
JSON
{
"hex": "#b08cdc",
"rgb": {
"r": 176,
"g": 140,
"b": 220
},
"hsl": {
"h": 267,
"s": 53.333,
"l": 70.588
},
"oklch": {
"l": 0.70374,
"c": 0.11985,
"h": 304.2
},
"luminance": 0.33154
}Semantic roles & 50–950 ramp
primary
#B08CDC
secondary
#E3EDD7
accent
#C1257B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84