#B027A1#B027A1

#B027A1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.213 H 333.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B027A1
RGBrgb(176, 39, 161)
HSLhsl(307, 64%, 42%)
HSVhsv(307, 78%, 69%)
CMYKcmyk(0%, 77.8%, 8.5%, 31%)
CIE-LABlab(43.15, 65.68, -34.96)
CIE-LCHlch(43.15, 74.41, 331.98°)
OKLaboklab(53.82% 0.1898 -0.096)
OKLCHoklch(53.82% 0.213 333.2)
XYZxyz(25.0632, 13.2565, 34.9501)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A1 #27B036
analogous
#7A27B0 #B027A1 #B0275D
triadic
#B027A1 #A1B027 #27A1B0
tetradic
#B027A1 #B07A27 #27B036 #275DB0
square
#B027A1 #B07A27 #27B036 #275DB0
split-complementary
#B027A1 #5DB027 #27B07A
monochromatic
#4C1145 #7E1C73 #B027A1 #D540C4 #E072D4

Accessibility & contrast

On white

5.75
#B027A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B027A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027A1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A1#FFFFFF#000000##FFFFFF
##B027A11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#B83663
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b027a1;
/* rgb */ color: rgb(176, 39, 161);
/* oklch */ color: oklch(53.8% 0.213 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc71bd',
    500: '#b027a1',
    950: '#000000',
  },
}
SCSS
$custom: #b027a1;
$custom-light: #cc71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a1",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 306.569,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.21274,
    "h": 333.2
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#B027A1
secondary
#6CC776
accent
#E75341
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B027A1

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

Preview Lab → · Contrast checker → · Palette generator →

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