#B727AC#B727AC

#B727AC is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.224 H 331.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B727AC
RGBrgb(183, 39, 172)
HSLhsl(305, 65%, 44%)
HSVhsv(305, 79%, 72%)
CMYKcmyk(0%, 78.7%, 6%, 28.2%)
CIE-LABlab(44.94, 68.83, -38.60)
CIE-LCHlch(44.94, 78.91, 330.72°)
OKLaboklab(55.51% 0.1971 -0.1064)
OKLCHoklch(55.51% 0.224 331.6)
XYZxyz(27.7004, 14.4992, 40.3614)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727AC #27B732
analogous
#7A27B7 #B727AC #B72764
triadic
#B727AC #ACB727 #27ACB7
tetradic
#B727AC #B77A27 #27B732 #2764B7
square
#B727AC #B77A27 #27B732 #2764B7
split-complementary
#B727AC #64B727 #27B77A
monochromatic
#52114D #851C7D #B727AC #D744CC #E276DA

Accessibility & contrast

On white

5.39
#B727AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B727AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727AC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727AC#FFFFFF#000000##FFFFFF
##B727AC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185EAF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#BF3A69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b727ac;
/* rgb */ color: rgb(183, 39, 172);
/* oklch */ color: oklch(55.5% 0.224 331.6);
Tailwind
colors: {
  custom: {
    50: '#d173c5',
    500: '#b727ac',
    950: '#000000',
  },
}
SCSS
$custom: #b727ac;
$custom-light: #d173c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b727ac",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 304.583,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.22395,
    "h": 331.6
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#B727AC
secondary
#70C977
accent
#E84D40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B727AC

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

Preview Lab → · Contrast checker → · Palette generator →

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