#B027AC#B027AC

#B027AC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.221 H 329.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B027AC
RGBrgb(176, 39, 172)
HSLhsl(302, 64%, 42%)
HSVhsv(302, 78%, 69%)
CMYKcmyk(0%, 77.8%, 2.3%, 31%)
CIE-LABlab(43.74, 67.38, -40.57)
CIE-LCHlch(43.74, 78.65, 328.94°)
OKLaboklab(54.44% 0.19 -0.1123)
OKLCHoklch(54.44% 0.221 329.4)
XYZxyz(26.0762, 13.6617, 40.2853)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027AC #27B02B
analogous
#7027B0 #B027AC #B02767
triadic
#B027AC #ACB027 #27ACB0
tetradic
#B027AC #B07027 #27B02B #2767B0
square
#B027AC #B07027 #27B02B #2767B0
split-complementary
#B027AC #67B027 #27B070
monochromatic
#4C114A #7E1C7B #B027AC #D540D0 #E072DC

Accessibility & contrast

On white

5.63
#B027AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B027AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027AC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027AC#FFFFFF#000000##FFFFFF
##B027AC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CAF
Deuteranopia (green-blind)
#516EA9
Tritanopia (blue-blind)
#B63C69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b027ac;
/* rgb */ color: rgb(176, 39, 172);
/* oklch */ color: oklch(54.4% 0.221 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c5',
    500: '#b027ac',
    950: '#000000',
  },
}
SCSS
$custom: #b027ac;
$custom-light: #cc72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b027ac",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 301.752,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.22065,
    "h": 329.4
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#B027AC
secondary
#6CC76F
accent
#E74641
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B027AC

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

Preview Lab → · Contrast checker → · Palette generator →

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