#B273BD#B273BD

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

Color values

HEX#B273BD
RGBrgb(178, 115, 189)
HSLhsl(291, 36%, 60%)
HSVhsv(291, 39%, 74%)
CMYKcmyk(5.8%, 39.2%, 0%, 25.9%)
CIE-LABlab(57.46, 37.14, -28.93)
CIE-LCHlch(57.46, 47.08, 322.09°)
OKLaboklab(64.83% 0.0995 -0.0793)
OKLCHoklch(64.83% 0.127 321.5)
XYZxyz(33.6751, 25.4017, 51.2634)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273BD #7EBD73
analogous
#8D73BD #B273BD #BD73A3
triadic
#B273BD #BDB273 #73BDB2
tetradic
#B273BD #BD8D73 #7EBD73 #73A3BD
square
#B273BD #BD8D73 #7EBD73 #73A3BD
split-complementary
#B273BD #A3BD73 #73BD8D
monochromatic
#723A7B #984EA5 #B273BD #C99DD1 #E0C6E4

Accessibility & contrast

On white

3.45
#B273BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B273BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B273BD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B273BD#FFFFFF#000000##000000
##B273BD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b273bd;
/* rgb */ color: rgb(178, 115, 189);
/* oklch */ color: oklch(64.8% 0.127 321.5);
Tailwind
colors: {
  custom: {
    50: '#ca9cd1',
    500: '#b273bd',
    950: '#000000',
  },
}
SCSS
$custom: #b273bd;
$custom-light: #ca9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b273bd",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 291.081,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.12725,
    "h": 321.5
  },
  "luminance": 0.25401
}

Semantic roles & 50–950 ramp

primary
#B273BD
secondary
#BCD4B8
accent
#CC5C6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B273BD

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

Preview Lab → · Contrast checker → · Palette generator →

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