#B374F2#B374F2
#B374F2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.186 H 305.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B374F2 |
|---|---|
| RGB | rgb(179, 116, 242) |
| HSL | hsl(270, 83%, 70%) |
| HSV | hsv(270, 52%, 95%) |
| CMYK | cmyk(26%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(60.32, 48.37, -54.23) |
| CIE-LCH | lch(60.32, 72.67, 311.73°) |
| OKLab | oklab(67.82% 0.107 -0.1525) |
| OKLCH | oklch(67.82% 0.186 305) |
| XYZ | xyz(40.8594, 28.4855, 87.3329) |
| Luminance | 0.2848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.33
Light Purple
#BF77F6
ΔE00 2.30
Easter Purple
#C071FE
ΔE00 2.53
Bright Lavender
#C760FF
ΔE00 4.96
Bright Lilac
#C95EFB
ΔE00 5.36
Mediumpurple
#9370DB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B374F2 #B3F274
analogous
#7474F2 #B374F2 #F274F2
triadic
#B374F2 #F2B374 #74F2B3
tetradic
#B374F2 #F27474 #B3F274 #74F2F2
square
#B374F2 #F27474 #B3F274 #74F2F2
split-complementary
#B374F2 #F2F274 #74F274
monochromatic
#7614D7 #943CED #B374F2 #D2ACF7 #F0E3FC
Accessibility & contrast
On white
3.14
#B374F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#B374F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B374F2
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B374F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B374F2 | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#A88BA8
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b374f2; /* rgb */ color: rgb(179, 116, 242); /* oklch */ color: oklch(67.8% 0.186 305.0);
Tailwind
colors: {
custom: {
50: '#cd9ef7',
500: '#b374f2',
950: '#000000',
},
}SCSS
$custom: #b374f2; $custom-light: #cd9ef7; $custom-dark: #000000;
JSON
{
"hex": "#b374f2",
"rgb": {
"r": 179,
"g": 116,
"b": 242
},
"hsl": {
"h": 270,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.67817,
"c": 0.18624,
"h": 305
},
"luminance": 0.28485
}Semantic roles & 50–950 ramp
primary
#B374F2
secondary
#E1F2CF
accent
#DF0673
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85