#B727AF#B727AF

#B727AF is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.226 H 330.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B727AF
RGBrgb(183, 39, 175)
HSLhsl(303, 65%, 44%)
HSVhsv(303, 79%, 72%)
CMYKcmyk(0%, 78.7%, 4.4%, 28.2%)
CIE-LABlab(45.10, 69.28, -40.12)
CIE-LCHlch(45.10, 80.06, 329.93°)
OKLaboklab(55.68% 0.1971 -0.1108)
OKLCHoklch(55.68% 0.226 330.7)
XYZxyz(27.9918, 14.6157, 41.8960)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727AF #27B72F
analogous
#7727B7 #B727AF #B72767
triadic
#B727AF #AFB727 #27AFB7
tetradic
#B727AF #B77727 #27B72F #2767B7
square
#B727AF #B77727 #27B72F #2767B7
split-complementary
#B727AF #67B727 #27B777
monochromatic
#52114F #851C7F #B727AF #D744CF #E276DC

Accessibility & contrast

On white

5.35
#B727AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B727AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727AF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727AF#FFFFFF#000000##FFFFFF
##B727AF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB3
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#BE3C6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b727af;
/* rgb */ color: rgb(183, 39, 175);
/* oklch */ color: oklch(55.7% 0.226 330.7);
Tailwind
colors: {
  custom: {
    50: '#d173c7',
    500: '#b727af',
    950: '#000000',
  },
}
SCSS
$custom: #b727af;
$custom-light: #d173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b727af",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 303.333,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.22608,
    "h": 330.7
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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