#B273EF#B273EF
#B273EF is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.184 H 305.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B273EF |
|---|---|
| RGB | rgb(178, 115, 239) |
| HSL | hsl(270, 79%, 69%) |
| HSV | hsv(270, 52%, 94%) |
| CMYK | cmyk(25.5%, 51.9%, 0%, 6.3%) |
| CIE-LAB | lab(59.85, 47.96, -53.33) |
| CIE-LCH | lch(59.85, 71.72, 311.97°) |
| OKLab | oklab(67.39% 0.1068 -0.1499) |
| OKLCH | oklch(67.39% 0.184 305.5) |
| XYZ | xyz(40.0675, 27.9587, 84.9304) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.38
Light Purple
#BF77F6
ΔE00 2.57
Easter Purple
#C071FE
ΔE00 2.84
Bright Lavender
#C760FF
ΔE00 4.99
Bright Lilac
#C95EFB
ΔE00 5.33
Mediumpurple
#9370DB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B273EF #B0EF73
analogous
#7473EF #B273EF #EF73EE
triadic
#B273EF #EFB273 #73EFB2
tetradic
#B273EF #EF7473 #B0EF73 #73EEEF
square
#B273EF #EF7473 #B0EF73 #73EEEF
split-complementary
#B273EF #EEEF73 #73EF74
monochromatic
#7518D0 #943CE9 #B273EF #D0AAF5 #EEE1FC
Accessibility & contrast
On white
3.19
#B273EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#B273EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B273EF
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B273EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B273EF | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#A889A6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #b273ef; /* rgb */ color: rgb(178, 115, 239); /* oklch */ color: oklch(67.4% 0.184 305.5);
Tailwind
colors: {
custom: {
50: '#cc9df5',
500: '#b273ef',
950: '#000000',
},
}SCSS
$custom: #b273ef; $custom-light: #cc9df5; $custom-dark: #000000;
JSON
{
"hex": "#b273ef",
"rgb": {
"r": 178,
"g": 115,
"b": 239
},
"hsl": {
"h": 270.484,
"s": 79.487,
"l": 69.412
},
"oklch": {
"l": 0.67391,
"c": 0.18403,
"h": 305.5
},
"luminance": 0.27958
}Semantic roles & 50–950 ramp
primary
#B273EF
secondary
#DFF1CD
accent
#DC0A71
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85