#B98CDA#B98CDA
#B98CDA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.120 H 310.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B98CDA |
|---|---|
| RGB | rgb(185, 140, 218) |
| HSL | hsl(275, 51%, 70%) |
| HSV | hsv(275, 36%, 85%) |
| CMYK | cmyk(15.1%, 35.8%, 0%, 14.5%) |
| CIE-LAB | lab(65.07, 31.52, -33.41) |
| CIE-LCH | lch(65.07, 45.93, 313.34°) |
| OKLab | oklab(71.14% 0.0774 -0.0921) |
| OKLCH | oklch(71.14% 0.12 310) |
| XYZ | xyz(42.0383, 34.1329, 70.6898) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.02
Lavender (survey)
#C79FEF
ΔE00 5.38
Baby Purple
#CA9BF7
ΔE00 5.54
Wisteria
#A87DC2
ΔE00 5.55
Lavender
#B39DDB
ΔE00 5.79
Liliac
#C48EFD
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98CDA #ADDA8C
analogous
#928CDA #B98CDA #DA8CD4
triadic
#B98CDA #DAB98C #8CDAB9
tetradic
#B98CDA #DA928C #ADDA8C #8CD4DA
square
#B98CDA #DA928C #ADDA8C #8CD4DA
split-complementary
#B98CDA #D4DA8C #8CDA92
monochromatic
#7F39B2 #9D5ECB #B98CDA #D5BAE9 #F1E8F8
Accessibility & contrast
On white
2.68
#B98CDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#B98CDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B98CDA
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98CDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98CDA | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D9CDD
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#B597A9
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b98cda; /* rgb */ color: rgb(185, 140, 218); /* oklch */ color: oklch(71.1% 0.120 310.0);
Tailwind
colors: {
custom: {
50: '#cfaee5',
500: '#b98cda',
950: '#000000',
},
}SCSS
$custom: #b98cda; $custom-light: #cfaee5; $custom-dark: #000000;
JSON
{
"hex": "#b98cda",
"rgb": {
"r": 185,
"g": 140,
"b": 218
},
"hsl": {
"h": 274.615,
"s": 51.316,
"l": 70.196
},
"oklch": {
"l": 0.71143,
"c": 0.12031,
"h": 310
},
"luminance": 0.34132
}Semantic roles & 50–950 ramp
primary
#B98CDA
secondary
#DFECD6
accent
#BF2767
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84