#B370F2#B370F2
#B370F2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.192 H 305.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B370F2 |
|---|---|
| RGB | rgb(179, 112, 242) |
| HSL | hsl(271, 83%, 69%) |
| HSV | hsv(271, 54%, 95%) |
| CMYK | cmyk(26%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(59.51, 50.49, -55.53) |
| CIE-LCH | lch(59.51, 75.05, 312.28°) |
| OKLab | oklab(67.22% 0.1121 -0.1563) |
| OKLCH | oklch(67.22% 0.192 305.6) |
| XYZ | xyz(40.4082, 27.5831, 87.1825) |
| Luminance | 0.2758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.64
Easter Purple
#C071FE
ΔE00 2.53
Light Purple
#BF77F6
ΔE00 2.79
Bright Lavender
#C760FF
ΔE00 4.31
Bright Lilac
#C95EFB
ΔE00 4.69
Lighter Purple
#A55AF4
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B370F2 #AFF270
analogous
#7270F2 #B370F2 #F270F0
triadic
#B370F2 #F2B370 #70F2B3
tetradic
#B370F2 #F27270 #AFF270 #70F0F2
square
#B370F2 #F27270 #AFF270 #70F0F2
split-complementary
#B370F2 #F0F270 #70F272
monochromatic
#7713D4 #9538ED #B370F2 #D1A8F7 #EFE0FC
Accessibility & contrast
On white
3.22
#B370F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#B370F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B370F2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B370F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B370F2 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#A988A7
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b370f2; /* rgb */ color: rgb(179, 112, 242); /* oklch */ color: oklch(67.2% 0.192 305.6);
Tailwind
colors: {
custom: {
50: '#cd9bf7',
500: '#b370f2',
950: '#000000',
},
}SCSS
$custom: #b370f2; $custom-light: #cd9bf7; $custom-dark: #000000;
JSON
{
"hex": "#b370f2",
"rgb": {
"r": 179,
"g": 112,
"b": 242
},
"hsl": {
"h": 270.923,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.67216,
"c": 0.19229,
"h": 305.6
},
"luminance": 0.27583
}Semantic roles & 50–950 ramp
primary
#B370F2
secondary
#DEF2CC
accent
#E0066F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85