#B38EF5#B38EF5
#B38EF5 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.149 H 299.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B38EF5 |
|---|---|
| RGB | rgb(179, 142, 245) |
| HSL | hsl(262, 84%, 76%) |
| HSV | hsv(262, 42%, 96%) |
| CMYK | cmyk(26.9%, 42%, 0%, 3.9%) |
| CIE-LAB | lab(66.15, 34.84, -46.66) |
| CIE-LCH | lch(66.15, 58.23, 306.75°) |
| OKLab | oklab(72.22% 0.0729 -0.1305) |
| OKLCH | oklch(72.22% 0.149 299.2) |
| XYZ | xyz(44.7410, 35.5220, 90.8678) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.25
Baby Purple
#CA9BF7
ΔE00 5.37
Pastel Purple
#CAA0FF
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 6.42
Lavender (survey)
#C79FEF
ΔE00 6.43
Lilac (survey)
#CEA2FD
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38EF5 #D0F58E
analogous
#8E9CF5 #B38EF5 #E68EF5
triadic
#B38EF5 #F5B38E #8EF5B3
tetradic
#B38EF5 #F58E9C #D0F58E #8EF5E6
square
#B38EF5 #F58E9C #D0F58E #8EF5E6
split-complementary
#B38EF5 #F5E68E #9CF58E
monochromatic
#671EEB #8D56F0 #B38EF5 #D9C6FA #ECE3FD
Accessibility & contrast
On white
2.59
#B38EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#B38EF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38EF5
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38EF5 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#A6A0B6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b38ef5; /* rgb */ color: rgb(179, 142, 245); /* oklch */ color: oklch(72.2% 0.149 299.2);
Tailwind
colors: {
custom: {
50: '#ccaff9',
500: '#b38ef5',
950: '#000000',
},
}SCSS
$custom: #b38ef5; $custom-light: #ccaff9; $custom-dark: #000000;
JSON
{
"hex": "#b38ef5",
"rgb": {
"r": 179,
"g": 142,
"b": 245
},
"hsl": {
"h": 261.553,
"s": 83.74,
"l": 75.882
},
"oklch": {
"l": 0.72223,
"c": 0.14944,
"h": 299.2
},
"luminance": 0.35522
}Semantic roles & 50–950 ramp
primary
#B38EF5
secondary
#EAF4D7
accent
#E00592
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85