#B98CDC#B98CDC
#B98CDC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.123 H 309.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B98CDC |
|---|---|
| RGB | rgb(185, 140, 220) |
| HSL | hsl(274, 53%, 71%) |
| HSV | hsv(274, 36%, 86%) |
| CMYK | cmyk(15.9%, 36.4%, 0%, 13.7%) |
| CIE-LAB | lab(65.15, 31.96, -34.39) |
| CIE-LCH | lch(65.15, 46.94, 312.90°) |
| OKLab | oklab(71.23% 0.0778 -0.0949) |
| OKLCH | oklch(71.23% 0.123 309.4) |
| XYZ | xyz(42.3016, 34.2383, 72.0764) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.34
Lavender (survey)
#C79FEF
ΔE00 5.27
Baby Purple
#CA9BF7
ΔE00 5.30
Liliac
#C48EFD
ΔE00 5.51
Wisteria
#A87DC2
ΔE00 5.74
Lavender
#B39DDB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98CDC #AFDC8C
analogous
#918CDC #B98CDC #DC8CD7
triadic
#B98CDC #DCB98C #8CDCB9
tetradic
#B98CDC #DC918C #AFDC8C #8CD7DC
square
#B98CDC #DC918C #AFDC8C #8CD7DC
split-complementary
#B98CDC #D7DC8C #8CDC91
monochromatic
#7F37B6 #9C5DCE #B98CDC #D6BBEA #F1E8F8
Accessibility & contrast
On white
2.68
#B98CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#B98CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B98CDC
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98CDC | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#B597AA
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b98cdc; /* rgb */ color: rgb(185, 140, 220); /* oklch */ color: oklch(71.2% 0.123 309.4);
Tailwind
colors: {
custom: {
50: '#cfaee7',
500: '#b98cdc',
950: '#000000',
},
}SCSS
$custom: #b98cdc; $custom-light: #cfaee7; $custom-dark: #000000;
JSON
{
"hex": "#b98cdc",
"rgb": {
"r": 185,
"g": 140,
"b": 220
},
"hsl": {
"h": 273.75,
"s": 53.333,
"l": 70.588
},
"oklch": {
"l": 0.71233,
"c": 0.12276,
"h": 309.4
},
"luminance": 0.34238
}Semantic roles & 50–950 ramp
primary
#B98CDC
secondary
#E1EDD7
accent
#C12569
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84