#B027B0#B027B0

#B027B0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.224 H 328.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B027B0
RGBrgb(176, 39, 176)
HSLhsl(300, 64%, 42%)
HSVhsv(300, 78%, 69%)
CMYKcmyk(0%, 77.8%, 0%, 31%)
CIE-LABlab(43.97, 68.01, -42.58)
CIE-LCHlch(43.97, 80.24, 327.95°)
OKLaboklab(54.67% 0.1899 -0.1181)
OKLCHoklch(54.67% 0.224 328.1)
XYZxyz(26.4662, 13.8177, 42.3390)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027B0 #27B027
analogous
#6C27B0 #B027B0 #B0276C
triadic
#B027B0 #B0B027 #27B0B0
tetradic
#B027B0 #B06C27 #27B027 #276CB0
square
#B027B0 #B06C27 #27B027 #276CB0
split-complementary
#B027B0 #6CB027 #27B06C
monochromatic
#4C114C #7E1C7E #B027B0 #D540D5 #E072E0

Accessibility & contrast

On white

5.58
#B027B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B027B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027B0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027B0#FFFFFF#000000##FFFFFF
##B027B01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#B63E6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b027b0;
/* rgb */ color: rgb(176, 39, 176);
/* oklch */ color: oklch(54.7% 0.224 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c8',
    500: '#b027b0',
    950: '#000000',
  },
}
SCSS
$custom: #b027b0;
$custom-light: #cc72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b027b0",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.2236,
    "h": 328.1
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#B027B0
secondary
#6CC76C
accent
#E74141
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B027B0

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

Preview Lab → · Contrast checker → · Palette generator →

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