#B273E9#B273E9
#B273E9 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.177 H 306.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B273E9 |
|---|---|
| RGB | rgb(178, 115, 233) |
| HSL | hsl(272, 73%, 68%) |
| HSV | hsv(272, 51%, 91%) |
| CMYK | cmyk(23.6%, 50.6%, 0%, 8.6%) |
| CIE-LAB | lab(59.53, 46.59, -50.49) |
| CIE-LCH | lch(59.53, 68.70, 312.69°) |
| OKLab | oklab(67.05% 0.1063 -0.1416) |
| OKLCH | oklch(67.05% 0.177 306.9) |
| XYZ | xyz(39.1958, 27.6100, 80.3394) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.19
Light Purple
#BF77F6
ΔE00 2.82
Easter Purple
#C071FE
ΔE00 3.42
Bright Lavender
#C760FF
ΔE00 5.30
Bright Lilac
#C95EFB
ΔE00 5.51
Mediumpurple
#9370DB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B273E9 #AAE973
analogous
#7773E9 #B273E9 #E973E5
triadic
#B273E9 #E9B273 #73E9B2
tetradic
#B273E9 #E97773 #AAE973 #73E5E9
square
#B273E9 #E97773 #AAE973 #73E5E9
split-complementary
#B273E9 #E5E973 #73E977
monochromatic
#761FC3 #953EE1 #B273E9 #CFA8F1 #ECDDFA
Accessibility & contrast
On white
3.22
#B273E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#B273E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B273E9
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B273E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B273E9 | 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)
#518DED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#AA88A3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b273e9; /* rgb */ color: rgb(178, 115, 233); /* oklch */ color: oklch(67.1% 0.177 306.9);
Tailwind
colors: {
custom: {
50: '#cc9df0',
500: '#b273e9',
950: '#000000',
},
}SCSS
$custom: #b273e9; $custom-light: #cc9df0; $custom-dark: #000000;
JSON
{
"hex": "#b273e9",
"rgb": {
"r": 178,
"g": 115,
"b": 233
},
"hsl": {
"h": 272.034,
"s": 72.84,
"l": 68.235
},
"oklch": {
"l": 0.67054,
"c": 0.17706,
"h": 306.9
},
"luminance": 0.2761
}Semantic roles & 50–950 ramp
primary
#B273E9
secondary
#DBEECA
accent
#D5116C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85