#B027A7#B027A7

#B027A7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.217 H 331.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B027A7
RGBrgb(176, 39, 167)
HSLhsl(304, 64%, 42%)
HSVhsv(304, 78%, 69%)
CMYKcmyk(0%, 77.8%, 5.1%, 31%)
CIE-LABlab(43.47, 66.60, -38.04)
CIE-LCHlch(43.47, 76.69, 330.27°)
OKLaboklab(54.15% 0.19 -0.1049)
OKLCHoklch(54.15% 0.217 331.1)
XYZxyz(25.6051, 13.4733, 37.8038)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A7 #27B030
analogous
#7527B0 #B027A7 #B02762
triadic
#B027A7 #A7B027 #27A7B0
tetradic
#B027A7 #B07527 #27B030 #2762B0
square
#B027A7 #B07527 #27B030 #2762B0
split-complementary
#B027A7 #62B027 #27B075
monochromatic
#4C1148 #7E1C77 #B027A7 #D540CB #E072D8

Accessibility & contrast

On white

5.68
#B027A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B027A7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A7#FFFFFF#000000##FFFFFF
##B027A71.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#B73A66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b027a7;
/* rgb */ color: rgb(176, 39, 167);
/* oklch */ color: oklch(54.1% 0.217 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c1',
    500: '#b027a7',
    950: '#000000',
  },
}
SCSS
$custom: #b027a7;
$custom-light: #cc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a7",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 303.942,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.21702,
    "h": 331.1
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#B027A7
secondary
#6CC772
accent
#E74C41
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B027A7

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

Preview Lab → · Contrast checker → · Palette generator →

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