#B727AB#B727AB

#B727AB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.223 H 332.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B727AB
RGBrgb(183, 39, 171)
HSLhsl(305, 65%, 44%)
HSVhsv(305, 79%, 72%)
CMYKcmyk(0%, 78.7%, 6.6%, 28.2%)
CIE-LABlab(44.89, 68.68, -38.09)
CIE-LCHlch(44.89, 78.53, 330.98°)
OKLaboklab(55.46% 0.1971 -0.1049)
OKLCHoklch(55.46% 0.223 332)
XYZxyz(27.6047, 14.4609, 39.8575)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727AB #27B733
analogous
#7B27B7 #B727AB #B72763
triadic
#B727AB #ABB727 #27ABB7
tetradic
#B727AB #B77B27 #27B733 #2763B7
square
#B727AB #B77B27 #27B733 #2763B7
split-complementary
#B727AB #63B727 #27B77B
monochromatic
#52114D #851C7C #B727AB #D744CB #E276D9

Accessibility & contrast

On white

5.40
#B727AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B727AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727AB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727AB#FFFFFF#000000##FFFFFF
##B727AB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#BF3A69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b727ab;
/* rgb */ color: rgb(183, 39, 171);
/* oklch */ color: oklch(55.5% 0.223 332.0);
Tailwind
colors: {
  custom: {
    50: '#d173c4',
    500: '#b727ab',
    950: '#000000',
  },
}
SCSS
$custom: #b727ab;
$custom-light: #d173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b727ab",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 305,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.22324,
    "h": 332
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#B727AB
secondary
#70C978
accent
#E84E40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B727AB

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

Preview Lab → · Contrast checker → · Palette generator →

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