#B427B4#B427B4

#B427B4 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.228 H 328.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B427B4
RGBrgb(180, 39, 180)
HSLhsl(300, 64%, 43%)
HSVhsv(300, 78%, 71%)
CMYKcmyk(0%, 78.3%, 0%, 29.4%)
CIE-LABlab(44.87, 69.45, -43.46)
CIE-LCHlch(44.87, 81.93, 327.96°)
OKLaboklab(55.51% 0.1939 -0.1206)
OKLCHoklch(55.51% 0.228 328.1)
XYZxyz(27.7858, 14.4517, 44.4972)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427B4 #27B427
analogous
#6D27B4 #B427B4 #B4276D
triadic
#B427B4 #B4B427 #27B4B4
tetradic
#B427B4 #B46D27 #27B427 #276DB4
square
#B427B4 #B46D27 #27B427 #276DB4
split-complementary
#B427B4 #6DB427 #27B46D
monochromatic
#4F114F #821C82 #B427B4 #D642D6 #E174E1

Accessibility & contrast

On white

5.40
#B427B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B427B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427B4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427B4#FFFFFF#000000##FFFFFF
##B427B41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#BA3F6E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b427b4;
/* rgb */ color: rgb(180, 39, 180);
/* oklch */ color: oklch(55.5% 0.228 328.1);
Tailwind
colors: {
  custom: {
    50: '#cf73cb',
    500: '#b427b4',
    950: '#000000',
  },
}
SCSS
$custom: #b427b4;
$custom-light: #cf73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b427b4",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.22833,
    "h": 328.1
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#B427B4
secondary
#6FC86F
accent
#E74040
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B427B4

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

Preview Lab → · Contrast checker → · Palette generator →

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