#B374FC#B374FC
#B374FC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.198 H 302.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B374FC |
|---|---|
| RGB | rgb(179, 116, 252) |
| HSL | hsl(268, 96%, 72%) |
| HSV | hsv(268, 54%, 99%) |
| CMYK | cmyk(29%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(60.87, 50.70, -58.88) |
| CIE-LCH | lch(60.87, 77.70, 310.73°) |
| OKLab | oklab(68.4% 0.1075 -0.1661) |
| OKLCH | oklch(68.4% 0.198 302.9) |
| XYZ | xyz(42.4025, 29.1028, 95.4601) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.49
Easter Purple
#C071FE
ΔE00 2.34
Light Purple
#BF77F6
ΔE00 2.80
Bright Lavender
#C760FF
ΔE00 4.94
Bright Lilac
#C95EFB
ΔE00 5.52
Lighter Purple
#A55AF4
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B374FC #BDFC74
analogous
#7479FC #B374FC #F774FC
triadic
#B374FC #FCB374 #74FCB3
tetradic
#B374FC #FC7479 #BDFC74 #74FCF7
square
#B374FC #FC7479 #BDFC74 #74FCF7
split-complementary
#B374FC #FCF774 #79FC74
monochromatic
#7205F0 #9238FB #B374FC #D4B0FD #EFE1FE
Accessibility & contrast
On white
3.08
#B374FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B374FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B374FC
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B374FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B374FC | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#A58EAD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b374fc; /* rgb */ color: rgb(179, 116, 252); /* oklch */ color: oklch(68.4% 0.198 302.9);
Tailwind
colors: {
custom: {
50: '#cd9efe',
500: '#b374fc',
950: '#000000',
},
}SCSS
$custom: #b374fc; $custom-light: #cd9efe; $custom-dark: #000000;
JSON
{
"hex": "#b374fc",
"rgb": {
"r": 179,
"g": 116,
"b": 252
},
"hsl": {
"h": 267.794,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.68398,
"c": 0.19783,
"h": 302.9
},
"luminance": 0.29103
}Semantic roles & 50–950 ramp
primary
#B374FC
secondary
#E7F7D4
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86