#B273EA#B273EA

#B273EA is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.178 H 306.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B273EA
RGBrgb(178, 115, 234)
HSLhsl(272, 74%, 68%)
HSVhsv(272, 51%, 92%)
CMYKcmyk(23.9%, 50.9%, 0%, 8.2%)
CIE-LABlab(59.59, 46.81, -50.97)
CIE-LCHlch(59.59, 69.20, 312.57°)
OKLaboklab(67.11% 0.1064 -0.143)
OKLCHoklch(67.11% 0.178 306.7)
XYZxyz(39.3391, 27.6673, 81.0939)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273EA #ABEA73
analogous
#7673EA #B273EA #EA73E6
triadic
#B273EA #EAB273 #73EAB2
tetradic
#B273EA #EA7673 #ABEA73 #73E6EA
square
#B273EA #EA7673 #ABEA73 #73E6EA
split-complementary
#B273EA #E6EA73 #73EA76
monochromatic
#761EC5 #953EE2 #B273EA #CFA8F2 #EDDDFA

Accessibility & contrast

On white

3.21
#B273EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B273EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273EA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273EA#FFFFFF#000000##000000
##B273EA1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#A988A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b273ea;
/* rgb */ color: rgb(178, 115, 234);
/* oklch */ color: oklch(67.1% 0.178 306.7);
Tailwind
colors: {
  custom: {
    50: '#cc9df1',
    500: '#b273ea',
    950: '#000000',
  },
}
SCSS
$custom: #b273ea;
$custom-light: #cc9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b273ea",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 271.765,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67109,
    "c": 0.17823,
    "h": 306.7
  },
  "luminance": 0.27667
}

Semantic roles & 50–950 ramp

primary
#B273EA
secondary
#DBEECA
accent
#D60F6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B273EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B273EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva