#B727A1#B727A1

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

Color values

HEX#B727A1
RGBrgb(183, 39, 161)
HSLhsl(309, 65%, 44%)
HSVhsv(309, 79%, 72%)
CMYKcmyk(0%, 78.7%, 12%, 28.2%)
CIE-LABlab(44.37, 67.21, -32.96)
CIE-LCHlch(44.37, 74.85, 333.88°)
OKLaboklab(54.92% 0.1967 -0.0901)
OKLCHoklch(54.92% 0.216 335.4)
XYZxyz(26.6874, 14.0940, 35.0262)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727A1 #27B73D
analogous
#8527B7 #B727A1 #B72759
triadic
#B727A1 #A1B727 #27A1B7
tetradic
#B727A1 #B78527 #27B73D #2759B7
square
#B727A1 #B78527 #27B73D #2759B7
split-complementary
#B727A1 #59B727 #27B785
monochromatic
#521148 #851C75 #B727A1 #D744C1 #E276D1

Accessibility & contrast

On white

5.50
#B727A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B727A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727A1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727A1#FFFFFF#000000##FFFFFF
##B727A11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#C03463
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b727a1;
/* rgb */ color: rgb(183, 39, 161);
/* oklch */ color: oklch(54.9% 0.216 335.4);
Tailwind
colors: {
  custom: {
    50: '#d172bd',
    500: '#b727a1',
    950: '#000000',
  },
}
SCSS
$custom: #b727a1;
$custom-light: #d172bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b727a1",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 309.167,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.21634,
    "h": 335.4
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#B727A1
secondary
#70C97E
accent
#E85A40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B727A1

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

Preview Lab → · Contrast checker → · Palette generator →

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