#B027B2#B027B2

#B027B2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.225 H 327.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B027B2
RGBrgb(176, 39, 178)
HSLhsl(299, 64%, 43%)
HSVhsv(299, 78%, 70%)
CMYKcmyk(1.1%, 78.1%, 0%, 30.2%)
CIE-LABlab(44.09, 68.33, -43.58)
CIE-LCHlch(44.09, 81.05, 327.47°)
OKLaboklab(54.79% 0.1898 -0.121)
OKLCHoklch(54.79% 0.225 327.5)
XYZxyz(26.6655, 13.8975, 43.3889)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027B2 #29B227
analogous
#6B27B2 #B027B2 #B2276E
triadic
#B027B2 #B2B027 #27B2B0
tetradic
#B027B2 #B26B27 #29B227 #276EB2
square
#B027B2 #B26B27 #29B227 #276EB2
split-complementary
#B027B2 #6EB227 #27B26B
monochromatic
#4D114E #7E1C80 #B027B2 #D341D5 #DF73E0

Accessibility & contrast

On white

5.56
#B027B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B027B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027B2#FFFFFF#000000##FFFFFF
##B027B21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#B5406C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b027b2;
/* rgb */ color: rgb(176, 39, 178);
/* oklch */ color: oklch(54.8% 0.225 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc72c9',
    500: '#b027b2',
    950: '#000000',
  },
}
SCSS
$custom: #b027b2;
$custom-light: #cc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b027b2",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 299.137,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.22508,
    "h": 327.5
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#B027B2
secondary
#6FC86D
accent
#E74143
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B027B2

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

Preview Lab → · Contrast checker → · Palette generator →

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