#B727A0#B727A0

#B727A0 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.216 H 335.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B727A0
RGBrgb(183, 39, 160)
HSLhsl(310, 65%, 44%)
HSVhsv(310, 79%, 72%)
CMYKcmyk(0%, 78.7%, 12.6%, 28.2%)
CIE-LABlab(44.32, 67.06, -32.44)
CIE-LCHlch(44.32, 74.50, 334.19°)
OKLaboklab(54.87% 0.1966 -0.0886)
OKLCHoklch(54.87% 0.216 335.7)
XYZxyz(26.5995, 14.0589, 34.5636)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727A0 #27B73E
analogous
#8627B7 #B727A0 #B72758
triadic
#B727A0 #A0B727 #27A0B7
tetradic
#B727A0 #B78627 #27B73E #2758B7
square
#B727A0 #B78627 #27B73E #2758B7
split-complementary
#B727A0 #58B727 #27B786
monochromatic
#521148 #851C74 #B727A0 #D744C0 #E276D1

Accessibility & contrast

On white

5.51
#B727A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B727A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727A0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727A0#FFFFFF#000000##FFFFFF
##B727A01.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#C03362
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b727a0;
/* rgb */ color: rgb(183, 39, 160);
/* oklch */ color: oklch(54.9% 0.216 335.7);
Tailwind
colors: {
  custom: {
    50: '#d172bc',
    500: '#b727a0',
    950: '#000000',
  },
}
SCSS
$custom: #b727a0;
$custom-light: #d172bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b727a0",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 309.583,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.21566,
    "h": 335.7
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#B727A0
secondary
#70C97F
accent
#E85B40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B727A0

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

Preview Lab → · Contrast checker → · Palette generator →

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