#B674F8#B674F8
#B674F8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.194 H 304.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B674F8 |
|---|---|
| RGB | rgb(182, 116, 248) |
| HSL | hsl(270, 90%, 71%) |
| HSV | hsv(270, 53%, 97%) |
| CMYK | cmyk(26.6%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(60.97, 50.51, -56.50) |
| CIE-LCH | lch(60.97, 75.78, 311.79°) |
| OKLab | oklab(68.47% 0.111 -0.159) |
| OKLCH | oklch(68.47% 0.194 304.9) |
| XYZ | xyz(42.4764, 29.2134, 92.1898) |
| Luminance | 0.2921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.33
Easter Purple
#C071FE
ΔE00 1.82
Light Purple
#BF77F6
ΔE00 1.99
Bright Lavender
#C760FF
ΔE00 4.58
Bright Lilac
#C95EFB
ΔE00 5.08
Liliac
#C48EFD
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B674F8 #B6F874
analogous
#7474F8 #B674F8 #F874F8
triadic
#B674F8 #F8B674 #74F8B6
tetradic
#B674F8 #F87474 #B6F874 #74F8F8
square
#B674F8 #F87474 #B6F874 #74F8F8
split-complementary
#B674F8 #F8F874 #74F874
monochromatic
#790CE6 #973AF5 #B674F8 #D5AEFB #F0E2FE
Accessibility & contrast
On white
3.07
#B674F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#B674F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B674F8
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B674F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B674F8 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#AB8DAB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b674f8; /* rgb */ color: rgb(182, 116, 248); /* oklch */ color: oklch(68.5% 0.194 304.9);
Tailwind
colors: {
custom: {
50: '#cf9efb',
500: '#b674f8',
950: '#000000',
},
}SCSS
$custom: #b674f8; $custom-light: #cf9efb; $custom-dark: #000000;
JSON
{
"hex": "#b674f8",
"rgb": {
"r": 182,
"g": 116,
"b": 248
},
"hsl": {
"h": 270,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.68471,
"c": 0.19392,
"h": 304.9
},
"luminance": 0.29213
}Semantic roles & 50–950 ramp
primary
#B674F8
secondary
#E4F5D3
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85