#B027A2#B027A2

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

Color values

HEX#B027A2
RGBrgb(176, 39, 162)
HSLhsl(306, 64%, 42%)
HSVhsv(306, 78%, 69%)
CMYKcmyk(0%, 77.8%, 8%, 31%)
CIE-LABlab(43.20, 65.83, -35.48)
CIE-LCHlch(43.20, 74.78, 331.68°)
OKLaboklab(53.87% 0.1899 -0.0975)
OKLCHoklch(53.87% 0.213 332.8)
XYZxyz(25.1517, 13.2919, 35.4163)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A2 #27B035
analogous
#7927B0 #B027A2 #B0275E
triadic
#B027A2 #A2B027 #27A2B0
tetradic
#B027A2 #B07927 #27B035 #275EB0
square
#B027A2 #B07927 #27B035 #275EB0
split-complementary
#B027A2 #5EB027 #27B079
monochromatic
#4C1146 #7E1C74 #B027A2 #D540C5 #E072D4

Accessibility & contrast

On white

5.74
#B027A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B027A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027A2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A2#FFFFFF#000000##FFFFFF
##B027A21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B83763
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b027a2;
/* rgb */ color: rgb(176, 39, 162);
/* oklch */ color: oklch(53.9% 0.213 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc71be',
    500: '#b027a2',
    950: '#000000',
  },
}
SCSS
$custom: #b027a2;
$custom-light: #cc71be;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a2",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 306.131,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.21345,
    "h": 332.8
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#B027A2
secondary
#6CC775
accent
#E75241
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B027A2

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

Preview Lab → · Contrast checker → · Palette generator →

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