#B727B2#B727B2

#B727B2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.228 H 329.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B727B2
RGBrgb(183, 39, 178)
HSLhsl(302, 65%, 44%)
HSVhsv(302, 79%, 72%)
CMYKcmyk(0%, 78.7%, 2.7%, 28.2%)
CIE-LABlab(45.27, 69.75, -41.63)
CIE-LCHlch(45.27, 81.22, 329.17°)
OKLaboklab(55.86% 0.1971 -0.1152)
OKLCHoklch(55.86% 0.228 329.7)
XYZxyz(28.2897, 14.7349, 43.4650)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727B2 #27B72C
analogous
#7427B7 #B727B2 #B7276A
triadic
#B727B2 #B2B727 #27B2B7
tetradic
#B727B2 #B77427 #27B72C #276AB7
square
#B727B2 #B77427 #27B72C #276AB7
split-complementary
#B727B2 #6AB727 #27B774
monochromatic
#521150 #851C81 #B727B2 #D744D2 #E276DE

Accessibility & contrast

On white

5.32
#B727B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B727B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727B2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727B2#FFFFFF#000000##FFFFFF
##B727B21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB6
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#BE3E6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b727b2;
/* rgb */ color: rgb(183, 39, 178);
/* oklch */ color: oklch(55.9% 0.228 329.7);
Tailwind
colors: {
  custom: {
    50: '#d173c9',
    500: '#b727b2',
    950: '#000000',
  },
}
SCSS
$custom: #b727b2;
$custom-light: #d173c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b727b2",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 302.083,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.22823,
    "h": 329.7
  },
  "luminance": 0.14733
}

Semantic roles & 50–950 ramp

primary
#B727B2
secondary
#70C973
accent
#E84640
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B727B2

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

Preview Lab → · Contrast checker → · Palette generator →

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