#B727AA#B727AA

#B727AA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.223 H 332.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B727AA
RGBrgb(183, 39, 170)
HSLhsl(305, 65%, 44%)
HSVhsv(305, 79%, 72%)
CMYKcmyk(0%, 78.7%, 7.1%, 28.2%)
CIE-LABlab(44.83, 68.53, -37.58)
CIE-LCHlch(44.83, 78.16, 331.26°)
OKLaboklab(55.4% 0.197 -0.1034)
OKLCHoklch(55.4% 0.223 332.3)
XYZxyz(27.5098, 14.4229, 39.3575)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727AA #27B734
analogous
#7C27B7 #B727AA #B72762
triadic
#B727AA #AAB727 #27AAB7
tetradic
#B727AA #B77C27 #27B734 #2762B7
square
#B727AA #B77C27 #27B734 #2762B7
split-complementary
#B727AA #62B727 #27B77C
monochromatic
#52114C #851C7B #B727AA #D744CA #E276D8

Accessibility & contrast

On white

5.41
#B727AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B727AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727AA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727AA#FFFFFF#000000##FFFFFF
##B727AA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#BF3968
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b727aa;
/* rgb */ color: rgb(183, 39, 170);
/* oklch */ color: oklch(55.4% 0.223 332.3);
Tailwind
colors: {
  custom: {
    50: '#d173c4',
    500: '#b727aa',
    950: '#000000',
  },
}
SCSS
$custom: #b727aa;
$custom-light: #d173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b727aa",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 305.417,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.22255,
    "h": 332.3
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#B727AA
secondary
#70C978
accent
#E84F40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B727AA

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

Preview Lab → · Contrast checker → · Palette generator →

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