#B027A9#B027A9

#B027A9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.218 H 330.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B027A9
RGBrgb(176, 39, 169)
HSLhsl(303, 64%, 42%)
HSVhsv(303, 78%, 69%)
CMYKcmyk(0%, 77.8%, 4%, 31%)
CIE-LABlab(43.58, 66.91, -39.05)
CIE-LCHlch(43.58, 77.47, 329.73°)
OKLaboklab(54.26% 0.19 -0.1079)
OKLCHoklch(54.26% 0.218 330.4)
XYZxyz(25.7914, 13.5478, 38.7850)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A9 #27B02E
analogous
#7327B0 #B027A9 #B02764
triadic
#B027A9 #A9B027 #27A9B0
tetradic
#B027A9 #B07327 #27B02E #2764B0
square
#B027A9 #B07327 #27B02E #2764B0
split-complementary
#B027A9 #64B027 #27B073
monochromatic
#4C1149 #7E1C79 #B027A9 #D540CD #E072DA

Accessibility & contrast

On white

5.66
#B027A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B027A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027A9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A9#FFFFFF#000000##FFFFFF
##B027A91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAC
Deuteranopia (green-blind)
#536DA6
Tritanopia (blue-blind)
#B73B67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b027a9;
/* rgb */ color: rgb(176, 39, 169);
/* oklch */ color: oklch(54.3% 0.218 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c3',
    500: '#b027a9',
    950: '#000000',
  },
}
SCSS
$custom: #b027a9;
$custom-light: #cc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a9",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 303.066,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.21847,
    "h": 330.4
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#B027A9
secondary
#6CC771
accent
#E74A41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B027A9

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

Preview Lab → · Contrast checker → · Palette generator →

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