#B399FC#B399FC
#B399FC is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.141 H 294.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B399FC |
|---|---|
| RGB | rgb(179, 153, 252) |
| HSL | hsl(256, 94%, 79%) |
| HSV | hsv(256, 39%, 99%) |
| CMYK | cmyk(29%, 39.3%, 0%, 1.2%) |
| CIE-LAB | lab(69.04, 30.39, -45.95) |
| CIE-LCH | lch(69.04, 55.08, 303.48°) |
| OKLab | oklab(74.51% 0.0594 -0.1284) |
| OKLCH | oklch(74.51% 0.141 294.8) |
| XYZ | xyz(47.5480, 39.3938, 97.1753) |
| Luminance | 0.3939 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.71
Liliac
#C48EFD
ΔE00 5.04
Baby Purple
#CA9BF7
ΔE00 5.39
Lilac (survey)
#CEA2FD
ΔE00 5.78
Lavender (survey)
#C79FEF
ΔE00 6.01
Lavender
#B39DDB
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B399FC #E2FC99
analogous
#99B1FC #B399FC #E599FC
triadic
#B399FC #FCB399 #99FCB3
tetradic
#B399FC #FC99B1 #E2FC99 #99FCE5
square
#B399FC #FC99B1 #E2FC99 #99FCE5
split-complementary
#B399FC #FCE599 #B1FC99
monochromatic
#5A22F9 #875EFA #B399FC #DFD4FE #E9E1FE
Accessibility & contrast
On white
2.37
#B399FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B399FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B399FC
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B399FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B399FC | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#A3ABBF
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b399fc; /* rgb */ color: rgb(179, 153, 252); /* oklch */ color: oklch(74.5% 0.141 294.8);
Tailwind
colors: {
custom: {
50: '#ccb7fe',
500: '#b399fc',
950: '#000000',
},
}SCSS
$custom: #b399fc; $custom-light: #ccb7fe; $custom-dark: #000000;
JSON
{
"hex": "#b399fc",
"rgb": {
"r": 179,
"g": 153,
"b": 252
},
"hsl": {
"h": 255.758,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.74511,
"c": 0.14147,
"h": 294.8
},
"luminance": 0.39394
}Semantic roles & 50–950 ramp
primary
#B399FC
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086