#B727BA#B727BA

#B727BA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.234 H 327.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B727BA
RGBrgb(183, 39, 186)
HSLhsl(299, 65%, 44%)
HSVhsv(299, 79%, 73%)
CMYKcmyk(1.6%, 79%, 0%, 27.1%)
CIE-LABlab(45.72, 71.01, -45.60)
CIE-LCHlch(45.72, 84.39, 327.29°)
OKLaboklab(56.32% 0.1968 -0.1267)
OKLCHoklch(56.32% 0.234 327.2)
XYZxyz(29.1164, 15.0656, 47.8193)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727BA #2ABA27
analogous
#6E27BA #B727BA #BA2773
triadic
#B727BA #BAB727 #27BAB7
tetradic
#B727BA #BA6E27 #2ABA27 #2773BA
square
#B727BA #BA6E27 #2ABA27 #2773BA
split-complementary
#B727BA #73BA27 #27BA6E
monochromatic
#531255 #851C87 #B727BA #D546D8 #E179E3

Accessibility & contrast

On white

5.23
#B727BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B727BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727BA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727BA#FFFFFF#000000##FFFFFF
##B727BA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#5072B7
Tritanopia (blue-blind)
#BC4271
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b727ba;
/* rgb */ color: rgb(183, 39, 186);
/* oklch */ color: oklch(56.3% 0.234 327.2);
Tailwind
colors: {
  custom: {
    50: '#d173cf',
    500: '#b727ba',
    950: '#000000',
  },
}
SCSS
$custom: #b727ba;
$custom-light: #d173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b727ba",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 298.776,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.23405,
    "h": 327.2
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#B727BA
secondary
#74CB72
accent
#E84043
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B727BA

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

Preview Lab → · Contrast checker → · Palette generator →

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