#B727BD#B727BD

#B727BD is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.236 H 326.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B727BD
RGBrgb(183, 39, 189)
HSLhsl(298, 66%, 45%)
HSVhsv(298, 79%, 74%)
CMYKcmyk(3.2%, 79.4%, 0%, 25.9%)
CIE-LABlab(45.90, 71.49, -47.08)
CIE-LCHlch(45.90, 85.60, 326.63°)
OKLaboklab(56.51% 0.1966 -0.131)
OKLCHoklch(56.51% 0.236 326.3)
XYZxyz(29.4387, 15.1945, 49.5165)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B727BD #2DBD27
analogous
#6C27BD #B727BD #BD2778
triadic
#B727BD #BDB727 #27BDB7
tetradic
#B727BD #BD6C27 #2DBD27 #2778BD
square
#B727BD #BD6C27 #2DBD27 #2778BD
split-complementary
#B727BD #78BD27 #27BD6C
monochromatic
#551258 #861D8A #B727BD #D348D9 #DF7BE4

Accessibility & contrast

On white

5.20
#B727BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B727BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B727BD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B727BD#FFFFFF#000000##FFFFFF
##B727BD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#BC4373
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b727bd;
/* rgb */ color: rgb(183, 39, 189);
/* oklch */ color: oklch(56.5% 0.236 326.3);
Tailwind
colors: {
  custom: {
    50: '#d174d1',
    500: '#b727bd',
    950: '#000000',
  },
}
SCSS
$custom: #b727bd;
$custom-light: #d174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b727bd",
  "rgb": {
    "r": 183,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 297.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.23626,
    "h": 326.3
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#B727BD
secondary
#78CC74
accent
#E93F46
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B727BD

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

Preview Lab → · Contrast checker → · Palette generator →

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