#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
RGBrgb(178, 115, 233)
HSLhsl(272, 73%, 68%)
HSVhsv(272, 51%, 91%)
CMYKcmyk(23.6%, 50.6%, 0%, 8.6%)
CIE-LABlab(59.53, 46.59, -50.49)
CIE-LCHlch(59.53, 68.70, 312.69°)
OKLaboklab(67.05% 0.1063 -0.1416)
OKLCHoklch(67.05% 0.177 306.9)
XYZxyz(39.1958, 27.6100, 80.3394)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##B273E91.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.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

Preview Lab

Preview with #B273E9

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

Preview Lab → · Contrast checker → · Palette generator →

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