#B027A8#B027A8

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

Color values

HEX#B027A8
RGBrgb(176, 39, 168)
HSLhsl(304, 64%, 42%)
HSVhsv(304, 78%, 69%)
CMYKcmyk(0%, 77.8%, 4.5%, 31%)
CIE-LABlab(43.52, 66.75, -38.55)
CIE-LCHlch(43.52, 77.08, 329.99°)
OKLaboklab(54.21% 0.19 -0.1064)
OKLCHoklch(54.21% 0.218 330.7)
XYZxyz(25.6979, 13.5104, 38.2925)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A8 #27B02F
analogous
#7427B0 #B027A8 #B02763
triadic
#B027A8 #A8B027 #27A8B0
tetradic
#B027A8 #B07427 #27B02F #2763B0
square
#B027A8 #B07427 #27B02F #2763B0
split-complementary
#B027A8 #63B027 #27B074
monochromatic
#4C1148 #7E1C78 #B027A8 #D540CC #E072D9

Accessibility & contrast

On white

5.67
#B027A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B027A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027A8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A8#FFFFFF#000000##FFFFFF
##B027A81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155BAB
Deuteranopia (green-blind)
#546DA5
Tritanopia (blue-blind)
#B73A67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b027a8;
/* rgb */ color: rgb(176, 39, 168);
/* oklch */ color: oklch(54.2% 0.218 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c2',
    500: '#b027a8',
    950: '#000000',
  },
}
SCSS
$custom: #b027a8;
$custom-light: #cc72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a8",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 303.504,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.21775,
    "h": 330.7
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B027A8

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

Preview Lab → · Contrast checker → · Palette generator →

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