#B727B0#B727B0

#B727B0 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.227 H 330.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B727B0
RGBrgb(183, 39, 176)
HSLhsl(303, 65%, 44%)
HSVhsv(303, 79%, 72%)
CMYKcmyk(0%, 78.7%, 3.8%, 28.2%)
CIE-LABlab(45.16, 69.44, -40.62)
CIE-LCHlch(45.16, 80.45, 329.67°)
OKLaboklab(55.74% 0.1971 -0.1122)
OKLCHoklch(55.74% 0.227 330.3)
XYZxyz(28.0903, 14.6552, 42.4151)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727B0 #27B72E
analogous
#7627B7 #B727B0 #B72768
triadic
#B727B0 #B0B727 #27B0B7
tetradic
#B727B0 #B77627 #27B72E #2768B7
square
#B727B0 #B77627 #27B72E #2768B7
split-complementary
#B727B0 #68B727 #27B776
monochromatic
#52114F #851C7F #B727B0 #D744D0 #E276DD

Accessibility & contrast

On white

5.34
#B727B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B727B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727B0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727B0#FFFFFF#000000##FFFFFF
##B727B01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB4
Deuteranopia (green-blind)
#5672AD
Tritanopia (blue-blind)
#BE3C6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b727b0;
/* rgb */ color: rgb(183, 39, 176);
/* oklch */ color: oklch(55.7% 0.227 330.3);
Tailwind
colors: {
  custom: {
    50: '#d173c8',
    500: '#b727b0',
    950: '#000000',
  },
}
SCSS
$custom: #b727b0;
$custom-light: #d173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b727b0",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 302.917,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.2268,
    "h": 330.3
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#B727B0
secondary
#70C975
accent
#E84840
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B727B0

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

Preview Lab → · Contrast checker → · Palette generator →

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