#B727AE#B727AE

#B727AE is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.225 H 331.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B727AE
RGBrgb(183, 39, 174)
HSLhsl(304, 65%, 44%)
HSVhsv(304, 79%, 72%)
CMYKcmyk(0%, 78.7%, 4.9%, 28.2%)
CIE-LABlab(45.05, 69.13, -39.61)
CIE-LCHlch(45.05, 79.68, 330.19°)
OKLaboklab(55.63% 0.1971 -0.1093)
OKLCHoklch(55.63% 0.225 331)
XYZxyz(27.8939, 14.5766, 41.3806)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727AE #27B730
analogous
#7827B7 #B727AE #B72766
triadic
#B727AE #AEB727 #27AEB7
tetradic
#B727AE #B77827 #27B730 #2766B7
square
#B727AE #B77827 #27B730 #2766B7
split-complementary
#B727AE #66B727 #27B778
monochromatic
#52114E #851C7E #B727AE #D744CE #E276DB

Accessibility & contrast

On white

5.36
#B727AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B727AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727AE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727AE#FFFFFF#000000##FFFFFF
##B727AE1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB2
Deuteranopia (green-blind)
#5771AB
Tritanopia (blue-blind)
#BE3B6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b727ae;
/* rgb */ color: rgb(183, 39, 174);
/* oklch */ color: oklch(55.6% 0.225 331.0);
Tailwind
colors: {
  custom: {
    50: '#d173c6',
    500: '#b727ae',
    950: '#000000',
  },
}
SCSS
$custom: #b727ae;
$custom-light: #d173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b727ae",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 303.75,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.22537,
    "h": 331
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#B727AE
secondary
#70C976
accent
#E84A40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B727AE

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

Preview Lab → · Contrast checker → · Palette generator →

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