#B38FF9#B38FF9
#B38FF9 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.153 H 298.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B38FF9 |
|---|---|
| RGB | rgb(179, 143, 249) |
| HSL | hsl(260, 90%, 77%) |
| HSV | hsv(260, 43%, 98%) |
| CMYK | cmyk(28.1%, 42.6%, 0%, 2.4%) |
| CIE-LAB | lab(66.57, 35.25, -48.19) |
| CIE-LCH | lch(66.57, 59.70, 306.18°) |
| OKLab | oklab(72.6% 0.0722 -0.1349) |
| OKLCH | oklch(72.6% 0.153 298.2) |
| XYZ | xyz(45.5077, 36.0678, 94.1684) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.37
Baby Purple
#CA9BF7
ΔE00 5.55
Pastel Purple
#CAA0FF
ΔE00 5.61
Lilac (survey)
#CEA2FD
ΔE00 6.63
Lavender (survey)
#C79FEF
ΔE00 6.68
Light Purple
#BF77F6
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38FF9 #D5F98F
analogous
#8FA0F9 #B38FF9 #E88FF9
triadic
#B38FF9 #F9B38F #8FF9B3
tetradic
#B38FF9 #F98FA0 #D5F98F #8FF9E8
square
#B38FF9 #F98FA0 #D5F98F #8FF9E8
split-complementary
#B38FF9 #F9E88F #A0F98F
monochromatic
#641BF3 #8C55F6 #B38FF9 #DAC9FC #EBE2FD
Accessibility & contrast
On white
2.56
#B38FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#B38FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38FF9
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38FF9 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#77A1F6
Tritanopia (blue-blind)
#A5A2B8
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b38ff9; /* rgb */ color: rgb(179, 143, 249); /* oklch */ color: oklch(72.6% 0.153 298.2);
Tailwind
colors: {
custom: {
50: '#ccb0fc',
500: '#b38ff9',
950: '#000000',
},
}SCSS
$custom: #b38ff9; $custom-light: #ccb0fc; $custom-dark: #000000;
JSON
{
"hex": "#b38ff9",
"rgb": {
"r": 179,
"g": 143,
"b": 249
},
"hsl": {
"h": 260.377,
"s": 89.831,
"l": 76.863
},
"oklch": {
"l": 0.726,
"c": 0.15301,
"h": 298.2
},
"luminance": 0.36068
}Semantic roles & 50–950 ramp
primary
#B38FF9
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85