#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
RGBrgb(178, 115, 232)
HSLhsl(272, 72%, 68%)
HSVhsv(272, 50%, 91%)
CMYKcmyk(23.3%, 50.4%, 0%, 9%)
CIE-LABlab(59.48, 46.36, -50.02)
CIE-LCHlch(59.48, 68.20, 312.83°)
OKLaboklab(67% 0.1062 -0.1402)
OKLCHoklch(67% 0.176 307.2)
XYZxyz(39.0534, 27.5530, 79.5892)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##B273E81.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.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

Preview Lab

Preview with #B273E8

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

Preview Lab → · Contrast checker → · Palette generator →

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