#B273BC#B273BC

#B273BC is a light, vivid purple. Relative luminance 0.254; OKLCH L 64.8% C 0.126 H 321.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B273BC
RGBrgb(178, 115, 188)
HSLhsl(292, 35%, 59%)
HSVhsv(292, 39%, 74%)
CMYKcmyk(5.3%, 38.8%, 0%, 26.3%)
CIE-LABlab(57.42, 36.94, -28.42)
CIE-LCHlch(57.42, 46.61, 322.43°)
OKLaboklab(64.79% 0.0993 -0.0778)
OKLCHoklch(64.79% 0.126 321.9)
XYZxyz(33.5669, 25.3585, 50.6937)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273BC #7DBC73
analogous
#8E73BC #B273BC #BC73A2
triadic
#B273BC #BCB273 #73BCB2
tetradic
#B273BC #BC8E73 #7DBC73 #73A2BC
square
#B273BC #BC8E73 #7DBC73 #73A2BC
split-complementary
#B273BC #A2BC73 #73BC8E
monochromatic
#713A7A #984EA4 #B273BC #C99CD0 #E0C6E4

Accessibility & contrast

On white

3.46
#B273BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B273BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273BC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273BC#FFFFFF#000000##000000
##B273BC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BF
Deuteranopia (green-blind)
#7B8CBA
Tritanopia (blue-blind)
#B47B8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b273bc;
/* rgb */ color: rgb(178, 115, 188);
/* oklch */ color: oklch(64.8% 0.126 321.9);
Tailwind
colors: {
  custom: {
    50: '#ca9cd0',
    500: '#b273bc',
    950: '#000000',
  },
}
SCSS
$custom: #b273bc;
$custom-light: #ca9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b273bc",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 291.781,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64787,
    "c": 0.12618,
    "h": 321.9
  },
  "luminance": 0.25357
}

Semantic roles & 50–950 ramp

primary
#B273BC
secondary
#BBD4B7
accent
#CB5C6C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B273BC

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

Preview Lab → · Contrast checker → · Palette generator →

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