#B727B1#B727B1

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

Color values

HEX#B727B1
RGBrgb(183, 39, 177)
HSLhsl(303, 65%, 44%)
HSVhsv(303, 79%, 72%)
CMYKcmyk(0%, 78.7%, 3.3%, 28.2%)
CIE-LABlab(45.21, 69.59, -41.12)
CIE-LCHlch(45.21, 80.83, 329.42°)
OKLaboklab(55.8% 0.1971 -0.1137)
OKLCHoklch(55.8% 0.228 330)
XYZxyz(28.1896, 14.6949, 42.9381)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727B1 #27B72D
analogous
#7527B7 #B727B1 #B72769
triadic
#B727B1 #B1B727 #27B1B7
tetradic
#B727B1 #B77527 #27B72D #2769B7
square
#B727B1 #B77527 #27B72D #2769B7
split-complementary
#B727B1 #69B727 #27B775
monochromatic
#52114F #851C80 #B727B1 #D744D1 #E276DD

Accessibility & contrast

On white

5.33
#B727B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B727B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727B1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727B1#FFFFFF#000000##FFFFFF
##B727B11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB5
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#BE3D6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b727b1;
/* rgb */ color: rgb(183, 39, 177);
/* oklch */ color: oklch(55.8% 0.228 330.0);
Tailwind
colors: {
  custom: {
    50: '#d173c9',
    500: '#b727b1',
    950: '#000000',
  },
}
SCSS
$custom: #b727b1;
$custom-light: #d173c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b727b1",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 302.5,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55797,
    "c": 0.22751,
    "h": 330
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#B727B1
secondary
#70C974
accent
#E84740
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B727B1

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

Preview Lab → · Contrast checker → · Palette generator →

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