#B427A2#B427A2

#B427A2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.215 H 334.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B427A2
RGBrgb(180, 39, 162)
HSLhsl(308, 64%, 43%)
HSVhsv(308, 78%, 71%)
CMYKcmyk(0%, 78.3%, 10%, 29.4%)
CIE-LABlab(43.89, 66.70, -34.33)
CIE-LCHlch(43.89, 75.02, 332.76°)
OKLaboklab(54.5% 0.1938 -0.0941)
OKLCHoklch(54.5% 0.215 334.1)
XYZxyz(26.0698, 13.7653, 35.4594)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427A2 #27B439
analogous
#8027B4 #B427A2 #B4275B
triadic
#B427A2 #A2B427 #27A2B4
tetradic
#B427A2 #B48027 #27B439 #275BB4
square
#B427A2 #B48027 #27B439 #275BB4
split-complementary
#B427A2 #5BB427 #27B480
monochromatic
#4F1147 #821C75 #B427A2 #D642C3 #E174D3

Accessibility & contrast

On white

5.60
#B427A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B427A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427A2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427A2#FFFFFF#000000##FFFFFF
##B427A21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#BD3663
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b427a2;
/* rgb */ color: rgb(180, 39, 162);
/* oklch */ color: oklch(54.5% 0.215 334.1);
Tailwind
colors: {
  custom: {
    50: '#ce72be',
    500: '#b427a2',
    950: '#000000',
  },
}
SCSS
$custom: #b427a2;
$custom-light: #ce72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b427a2",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 307.66,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.21547,
    "h": 334.1
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#B427A2
secondary
#6FC87A
accent
#E75640
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B427A2

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

Preview Lab → · Contrast checker → · Palette generator →

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