#B427B1#B427B1

#B427B1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.226 H 329.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B427B1
RGBrgb(180, 39, 177)
HSLhsl(301, 64%, 43%)
HSVhsv(301, 78%, 71%)
CMYKcmyk(0%, 78.3%, 1.7%, 29.4%)
CIE-LABlab(44.70, 68.98, -41.97)
CIE-LCHlch(44.70, 80.74, 328.69°)
OKLaboklab(55.34% 0.194 -0.1162)
OKLCHoklch(55.34% 0.226 329.1)
XYZxyz(27.4835, 14.3308, 42.9050)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427B1 #27B42A
analogous
#7127B4 #B427B1 #B4276A
triadic
#B427B1 #B1B427 #27B1B4
tetradic
#B427B1 #B47127 #27B42A #276AB4
square
#B427B1 #B47127 #27B42A #276AB4
split-complementary
#B427B1 #6AB427 #27B471
monochromatic
#4F114E #821C80 #B427B1 #D642D3 #E174DF

Accessibility & contrast

On white

5.43
#B427B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B427B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427B1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427B1#FFFFFF#000000##FFFFFF
##B427B11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035EB5
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#BA3E6C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b427b1;
/* rgb */ color: rgb(180, 39, 177);
/* oklch */ color: oklch(55.3% 0.226 329.1);
Tailwind
colors: {
  custom: {
    50: '#cf73c9',
    500: '#b427b1',
    950: '#000000',
  },
}
SCSS
$custom: #b427b1;
$custom-light: #cf73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b427b1",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 301.277,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55338,
    "c": 0.22614,
    "h": 329.1
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#B427B1
secondary
#6FC870
accent
#E74440
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B427B1

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

Preview Lab → · Contrast checker → · Palette generator →

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