#B027A6#B027A6

#B027A6 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.216 H 331.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B027A6
RGBrgb(176, 39, 166)
HSLhsl(304, 64%, 42%)
HSVhsv(304, 78%, 69%)
CMYKcmyk(0%, 77.8%, 5.7%, 31%)
CIE-LABlab(43.41, 66.44, -37.53)
CIE-LCHlch(43.41, 76.31, 330.54°)
OKLaboklab(54.09% 0.19 -0.1034)
OKLCHoklch(54.09% 0.216 331.4)
XYZxyz(25.5130, 13.4364, 37.3188)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A6 #27B031
analogous
#7627B0 #B027A6 #B02761
triadic
#B027A6 #A6B027 #27A6B0
tetradic
#B027A6 #B07627 #27B031 #2761B0
square
#B027A6 #B07627 #27B031 #2761B0
split-complementary
#B027A6 #61B027 #27B076
monochromatic
#4C1147 #7E1C77 #B027A6 #D540CA #E072D8

Accessibility & contrast

On white

5.70
#B027A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B027A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027A6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A6#FFFFFF#000000##FFFFFF
##B027A61.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BA9
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#B73966
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b027a6;
/* rgb */ color: rgb(176, 39, 166);
/* oklch */ color: oklch(54.1% 0.216 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c1',
    500: '#b027a6',
    950: '#000000',
  },
}
SCSS
$custom: #b027a6;
$custom-light: #cc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a6",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 304.38,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.2163,
    "h": 331.4
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#B027A6
secondary
#6CC773
accent
#E74D41
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B027A6

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

Preview Lab → · Contrast checker → · Palette generator →

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