#B727AD#B727AD

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

Color values

HEX#B727AD
RGBrgb(183, 39, 173)
HSLhsl(304, 65%, 44%)
HSVhsv(304, 79%, 72%)
CMYKcmyk(0%, 78.7%, 5.5%, 28.2%)
CIE-LABlab(44.99, 68.98, -39.11)
CIE-LCHlch(44.99, 79.29, 330.45°)
OKLaboklab(55.57% 0.1971 -0.1079)
OKLCHoklch(55.57% 0.225 331.3)
XYZxyz(27.7968, 14.5378, 40.8691)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727AD #27B731
analogous
#7927B7 #B727AD #B72765
triadic
#B727AD #ADB727 #27ADB7
tetradic
#B727AD #B77927 #27B731 #2765B7
square
#B727AD #B77927 #27B731 #2765B7
split-complementary
#B727AD #65B727 #27B779
monochromatic
#52114E #851C7D #B727AD #D744CD #E276DA

Accessibility & contrast

On white

5.37
#B727AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B727AD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727AD#FFFFFF#000000##FFFFFF
##B727AD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#BF3B6A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b727ad;
/* rgb */ color: rgb(183, 39, 173);
/* oklch */ color: oklch(55.6% 0.225 331.3);
Tailwind
colors: {
  custom: {
    50: '#d173c6',
    500: '#b727ad',
    950: '#000000',
  },
}
SCSS
$custom: #b727ad;
$custom-light: #d173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b727ad",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 304.167,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.22466,
    "h": 331.3
  },
  "luminance": 0.14535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B727AD

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

Preview Lab → · Contrast checker → · Palette generator →

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