#B374F6#B374F6
#B374F6 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.191 H 304.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B374F6 |
|---|---|
| RGB | rgb(179, 116, 246) |
| HSL | hsl(269, 88%, 71%) |
| HSV | hsv(269, 53%, 96%) |
| CMYK | cmyk(27.2%, 52.8%, 0%, 3.5%) |
| CIE-LAB | lab(60.54, 49.30, -56.10) |
| CIE-LCH | lch(60.54, 74.68, 311.31°) |
| OKLab | oklab(68.05% 0.1072 -0.1579) |
| OKLCH | oklch(68.05% 0.191 304.2) |
| XYZ | xyz(41.4667, 28.7285, 90.5315) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.18
Easter Purple
#C071FE
ΔE00 2.35
Light Purple
#BF77F6
ΔE00 2.41
Bright Lavender
#C760FF
ΔE00 4.90
Bright Lilac
#C95EFB
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B374F6 #B7F674
analogous
#7476F6 #B374F6 #F474F6
triadic
#B374F6 #F6B374 #74F6B3
tetradic
#B374F6 #F67476 #B7F674 #74F6F4
square
#B374F6 #F67476 #B7F674 #74F6F4
split-complementary
#B374F6 #F6F474 #76F674
monochromatic
#750FE1 #943BF2 #B374F6 #D2ADFA #EFE2FD
Accessibility & contrast
On white
3.11
#B374F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#B374F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B374F6
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B374F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B374F6 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4790FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#A78CAA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b374f6; /* rgb */ color: rgb(179, 116, 246); /* oklch */ color: oklch(68.0% 0.191 304.2);
Tailwind
colors: {
custom: {
50: '#cd9efa',
500: '#b374f6',
950: '#000000',
},
}SCSS
$custom: #b374f6; $custom-light: #cd9efa; $custom-dark: #000000;
JSON
{
"hex": "#b374f6",
"rgb": {
"r": 179,
"g": 116,
"b": 246
},
"hsl": {
"h": 269.077,
"s": 87.838,
"l": 70.98
},
"oklch": {
"l": 0.68047,
"c": 0.19088,
"h": 304.2
},
"luminance": 0.28728
}Semantic roles & 50–950 ramp
primary
#B374F6
secondary
#E3F4D2
accent
#E40176
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85