#B370F6#B370F6
#B370F6 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.197 H 304.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B370F6 |
|---|---|
| RGB | rgb(179, 112, 246) |
| HSL | hsl(270, 88%, 70%) |
| HSV | hsv(270, 54%, 96%) |
| CMYK | cmyk(27.2%, 54.5%, 0%, 3.5%) |
| CIE-LAB | lab(59.73, 51.41, -57.39) |
| CIE-LCH | lch(59.73, 77.05, 311.85°) |
| OKLab | oklab(67.45% 0.1122 -0.1617) |
| OKLCH | oklch(67.45% 0.197 304.8) |
| XYZ | xyz(41.0155, 27.8261, 90.3811) |
| Luminance | 0.2783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.23
Easter Purple
#C071FE
ΔE00 2.34
Light Purple
#BF77F6
ΔE00 2.87
Bright Lavender
#C760FF
ΔE00 4.24
Bright Lilac
#C95EFB
ΔE00 4.72
Lighter Purple
#A55AF4
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B370F6 #B3F670
analogous
#7070F6 #B370F6 #F670F6
triadic
#B370F6 #F6B370 #70F6B3
tetradic
#B370F6 #F67070 #B3F670 #70F6F6
square
#B370F6 #F67070 #B3F670 #70F6F6
split-complementary
#B370F6 #F6F670 #70F670
monochromatic
#760EDE #9436F2 #B370F6 #D2AAFA #F0E2FD
Accessibility & contrast
On white
3.20
#B370F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#B370F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B370F6
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B370F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B370F6 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#A789A9
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b370f6; /* rgb */ color: rgb(179, 112, 246); /* oklch */ color: oklch(67.5% 0.197 304.8);
Tailwind
colors: {
custom: {
50: '#cd9bfa',
500: '#b370f6',
950: '#000000',
},
}SCSS
$custom: #b370f6; $custom-light: #cd9bfa; $custom-dark: #000000;
JSON
{
"hex": "#b370f6",
"rgb": {
"r": 179,
"g": 112,
"b": 246
},
"hsl": {
"h": 270,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.6745,
"c": 0.19684,
"h": 304.8
},
"luminance": 0.27826
}Semantic roles & 50–950 ramp
primary
#B370F6
secondary
#E1F3CE
accent
#E50173
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85