#B598F9#B598F9
#B598F9 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.4% C 0.139 H 296.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B598F9 |
|---|---|
| RGB | rgb(181, 152, 249) |
| HSL | hsl(258, 89%, 79%) |
| HSV | hsv(258, 39%, 98%) |
| CMYK | cmyk(27.3%, 39%, 0%, 2.4%) |
| CIE-LAB | lab(68.84, 30.77, -44.61) |
| CIE-LCH | lch(68.84, 54.19, 304.60°) |
| OKLab | oklab(74.36% 0.0624 -0.1245) |
| OKLCH | oklch(74.36% 0.139 296.6) |
| XYZ | xyz(47.3791, 39.1193, 94.6588) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.20
Liliac
#C48EFD
ΔE00 4.43
Baby Purple
#CA9BF7
ΔE00 4.67
Lilac (survey)
#CEA2FD
ΔE00 5.23
Lavender (survey)
#C79FEF
ΔE00 5.32
Lavender
#B39DDB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B598F9 #DCF998
analogous
#98ABF9 #B598F9 #E598F9
triadic
#B598F9 #F9B598 #98F9B5
tetradic
#B598F9 #F998AB #DCF998 #98F9E5
square
#B598F9 #F998AB #DCF998 #98F9E5
split-complementary
#B598F9 #F9E598 #ABF998
monochromatic
#6224F2 #8B5EF6 #B598F9 #DFD2FC #EAE2FD
Accessibility & contrast
On white
2.38
#B598F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#B598F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B598F9
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B598F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B598F9 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#A7A9BD
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b598f9; /* rgb */ color: rgb(181, 152, 249); /* oklch */ color: oklch(74.4% 0.139 296.6);
Tailwind
colors: {
custom: {
50: '#cdb6fb',
500: '#b598f9',
950: '#000000',
},
}SCSS
$custom: #b598f9; $custom-light: #cdb6fb; $custom-dark: #000000;
JSON
{
"hex": "#b598f9",
"rgb": {
"r": 181,
"g": 152,
"b": 249
},
"hsl": {
"h": 257.938,
"s": 88.991,
"l": 78.627
},
"oklch": {
"l": 0.74358,
"c": 0.13928,
"h": 296.6
},
"luminance": 0.3912
}Semantic roles & 50–950 ramp
primary
#B598F9
secondary
#ECF5D6
accent
#E600A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085