#B027AF#B027AF

#B027AF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.223 H 328.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B027AF
RGBrgb(176, 39, 175)
HSLhsl(300, 64%, 42%)
HSVhsv(300, 78%, 69%)
CMYKcmyk(0%, 77.8%, 0.6%, 31%)
CIE-LABlab(43.91, 67.85, -42.08)
CIE-LCHlch(43.91, 79.84, 328.19°)
OKLaboklab(54.61% 0.1899 -0.1167)
OKLCHoklch(54.61% 0.223 328.4)
XYZxyz(26.3676, 13.7783, 41.8198)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027AF #27B028
analogous
#6D27B0 #B027AF #B0276B
triadic
#B027AF #AFB027 #27AFB0
tetradic
#B027AF #B06D27 #27B028 #276BB0
square
#B027AF #B06D27 #27B028 #276BB0
split-complementary
#B027AF #6BB027 #27B06D
monochromatic
#4C114B #7E1C7D #B027AF #D540D4 #E072DF

Accessibility & contrast

On white

5.59
#B027AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B027AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027AF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027AF#FFFFFF#000000##FFFFFF
##B027AF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#B63E6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b027af;
/* rgb */ color: rgb(176, 39, 175);
/* oklch */ color: oklch(54.6% 0.223 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c7',
    500: '#b027af',
    950: '#000000',
  },
}
SCSS
$custom: #b027af;
$custom-light: #cc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b027af",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 300.438,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.22286,
    "h": 328.4
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#B027AF
secondary
#6CC76D
accent
#E74241
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B027AF

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

Preview Lab → · Contrast checker → · Palette generator →

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