#B373F2#B373F2
#B373F2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.188 H 305.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B373F2 |
|---|---|
| RGB | rgb(179, 115, 242) |
| HSL | hsl(270, 83%, 70%) |
| HSV | hsv(270, 52%, 95%) |
| CMYK | cmyk(26%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(60.12, 48.90, -54.56) |
| CIE-LCH | lch(60.12, 73.27, 311.87°) |
| OKLab | oklab(67.66% 0.1082 -0.1534) |
| OKLCH | oklch(67.66% 0.188 305.2) |
| XYZ | xyz(40.7447, 28.2562, 87.2947) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.12
Light Purple
#BF77F6
ΔE00 2.39
Easter Purple
#C071FE
ΔE00 2.50
Bright Lavender
#C760FF
ΔE00 4.79
Bright Lilac
#C95EFB
ΔE00 5.19
Mediumpurple
#9370DB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B373F2 #B2F273
analogous
#7373F2 #B373F2 #F273F2
triadic
#B373F2 #F2B373 #73F2B3
tetradic
#B373F2 #F27373 #B2F273 #73F2F2
square
#B373F2 #F27373 #B2F273 #73F2F2
split-complementary
#B373F2 #F2F273 #73F273
monochromatic
#7614D7 #953BED #B373F2 #D1ABF7 #F0E3FC
Accessibility & contrast
On white
3.16
#B373F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#B373F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B373F2
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B373F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B373F2 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#A88AA8
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b373f2; /* rgb */ color: rgb(179, 115, 242); /* oklch */ color: oklch(67.7% 0.188 305.2);
Tailwind
colors: {
custom: {
50: '#cd9df7',
500: '#b373f2',
950: '#000000',
},
}SCSS
$custom: #b373f2; $custom-light: #cd9df7; $custom-dark: #000000;
JSON
{
"hex": "#b373f2",
"rgb": {
"r": 179,
"g": 115,
"b": 242
},
"hsl": {
"h": 270.236,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.67665,
"c": 0.18776,
"h": 305.2
},
"luminance": 0.28256
}Semantic roles & 50–950 ramp
primary
#B373F2
secondary
#E0F2CF
accent
#DF0672
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85