#B027A5#B027A5

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

Color values

HEX#B027A5
RGBrgb(176, 39, 165)
HSLhsl(305, 64%, 42%)
HSVhsv(305, 78%, 69%)
CMYKcmyk(0%, 77.8%, 6.2%, 31%)
CIE-LABlab(43.36, 66.29, -37.02)
CIE-LCHlch(43.36, 75.92, 330.82°)
OKLaboklab(54.04% 0.1899 -0.102)
OKLCHoklch(54.04% 0.216 331.8)
XYZxyz(25.4216, 13.3999, 36.8376)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027A5 #27B032
analogous
#7727B0 #B027A5 #B02760
triadic
#B027A5 #A5B027 #27A5B0
tetradic
#B027A5 #B07727 #27B032 #2760B0
square
#B027A5 #B07727 #27B032 #2760B0
split-complementary
#B027A5 #60B027 #27B077
monochromatic
#4C1147 #7E1C76 #B027A5 #D540C9 #E072D7

Accessibility & contrast

On white

5.71
#B027A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B027A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027A5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027A5#FFFFFF#000000##FFFFFF
##B027A51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#B73965
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b027a5;
/* rgb */ color: rgb(176, 39, 165);
/* oklch */ color: oklch(54.0% 0.216 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc72c0',
    500: '#b027a5',
    950: '#000000',
  },
}
SCSS
$custom: #b027a5;
$custom-light: #cc72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b027a5",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 304.818,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.21558,
    "h": 331.8
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B027A5

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

Preview Lab → · Contrast checker → · Palette generator →

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