#B273E8#B273E8
#B273E8 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.0% C 0.176 H 307.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B273E8 |
|---|---|
| RGB | rgb(178, 115, 232) |
| HSL | hsl(272, 72%, 68%) |
| HSV | hsv(272, 50%, 91%) |
| CMYK | cmyk(23.3%, 50.4%, 0%, 9%) |
| CIE-LAB | lab(59.48, 46.36, -50.02) |
| CIE-LCH | lch(59.48, 68.20, 312.83°) |
| OKLab | oklab(67% 0.1062 -0.1402) |
| OKLCH | oklch(67% 0.176 307.2) |
| XYZ | xyz(39.0534, 27.5530, 79.5892) |
| Luminance | 0.2755 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.34
Light Purple
#BF77F6
ΔE00 2.89
Easter Purple
#C071FE
ΔE00 3.54
Bright Lavender
#C760FF
ΔE00 5.37
Bright Lilac
#C95EFB
ΔE00 5.56
Mediumpurple
#9370DB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B273E8 #A9E873
analogous
#7773E8 #B273E8 #E873E3
triadic
#B273E8 #E8B273 #73E8B2
tetradic
#B273E8 #E87773 #A9E873 #73E3E8
square
#B273E8 #E87773 #A9E873 #73E3E8
split-complementary
#B273E8 #E3E873 #73E877
monochromatic
#7720C1 #953EDF #B273E8 #CFA8F1 #ECDCF9
Accessibility & contrast
On white
3.23
#B273E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#B273E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B273E8
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B273E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B273E8 | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518DEC
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#AA87A3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b273e8; /* rgb */ color: rgb(178, 115, 232); /* oklch */ color: oklch(67.0% 0.176 307.2);
Tailwind
colors: {
custom: {
50: '#cb9df0',
500: '#b273e8',
950: '#000000',
},
}SCSS
$custom: #b273e8; $custom-light: #cb9df0; $custom-dark: #000000;
JSON
{
"hex": "#b273e8",
"rgb": {
"r": 178,
"g": 115,
"b": 232
},
"hsl": {
"h": 272.308,
"s": 71.779,
"l": 68.039
},
"oklch": {
"l": 0.66998,
"c": 0.17591,
"h": 307.2
},
"luminance": 0.27553
}Semantic roles & 50–950 ramp
primary
#B273E8
secondary
#DAEDCA
accent
#D4126B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84