#BA98CE#BA98CE
#BA98CE is a light, moderate violet. Relative luminance 0.374; OKLCH L 72.9% C 0.085 H 312.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #BA98CE |
|---|---|
| RGB | rgb(186, 152, 206) |
| HSL | hsl(278, 36%, 70%) |
| HSV | hsv(278, 26%, 81%) |
| CMYK | cmyk(9.7%, 26.2%, 0%, 19.2%) |
| CIE-LAB | lab(67.54, 22.60, -22.93) |
| CIE-LCH | lch(67.54, 32.20, 314.60°) |
| OKLab | oklab(72.9% 0.0577 -0.0624) |
| OKLCH | oklch(72.9% 0.085 312.7) |
| XYZ | xyz(42.6167, 37.3523, 63.3452) |
| Luminance | 0.3735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.53
Lavender
#B39DDB
ΔE00 4.29
Lilac
#C8A2C8
ΔE00 5.63
Lavender (survey)
#C79FEF
ΔE00 6.27
Plum
#DDA0DD
ΔE00 6.91
Heather
#A484AC
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA98CE #ACCE98
analogous
#9F98CE #BA98CE #CE98C7
triadic
#BA98CE #CEBA98 #98CEBA
tetradic
#BA98CE #CE9F98 #ACCE98 #98C7CE
square
#BA98CE #CE9F98 #ACCE98 #98C7CE
split-complementary
#BA98CE #C7CE98 #98CE9F
monochromatic
#814CA0 #9E6FBA #BA98CE #D6C1E2 #F1EAF5
Accessibility & contrast
On white
2.48
#BA98CE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#BA98CE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA98CE
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA98CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA98CE | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90A3D0
Deuteranopia (green-blind)
#97A5CC
Tritanopia (blue-blind)
#B89FAB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #ba98ce; /* rgb */ color: rgb(186, 152, 206); /* oklch */ color: oklch(72.9% 0.085 312.7);
Tailwind
colors: {
custom: {
50: '#cfb6dd',
500: '#ba98ce',
950: '#000000',
},
}SCSS
$custom: #ba98ce; $custom-light: #cfb6dd; $custom-dark: #000000;
JSON
{
"hex": "#ba98ce",
"rgb": {
"r": 186,
"g": 152,
"b": 206
},
"hsl": {
"h": 277.778,
"s": 35.526,
"l": 70.196
},
"oklch": {
"l": 0.72899,
"c": 0.085,
"h": 312.7
},
"luminance": 0.37352
}Semantic roles & 50–950 ramp
primary
#BA98CE
secondary
#DFE8D9
accent
#AE3763
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083