#B427B3#B427B3

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

Color values

HEX#B427B3
RGBrgb(180, 39, 179)
HSLhsl(300, 64%, 43%)
HSVhsv(300, 78%, 71%)
CMYKcmyk(0%, 78.3%, 0.6%, 29.4%)
CIE-LABlab(44.82, 69.30, -42.97)
CIE-LCHlch(44.82, 81.53, 328.20°)
OKLaboklab(55.46% 0.1939 -0.1191)
OKLCHoklch(55.46% 0.228 328.4)
XYZxyz(27.6843, 14.4111, 43.9626)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427B3 #27B428
analogous
#6F27B4 #B427B3 #B4276C
triadic
#B427B3 #B3B427 #27B3B4
tetradic
#B427B3 #B46F27 #27B428 #276CB4
square
#B427B3 #B46F27 #27B428 #276CB4
split-complementary
#B427B3 #6CB427 #27B46F
monochromatic
#4F114F #821C81 #B427B3 #D642D5 #E174E0

Accessibility & contrast

On white

5.41
#B427B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B427B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427B3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427B3#FFFFFF#000000##FFFFFF
##B427B31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#BA3F6D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b427b3;
/* rgb */ color: rgb(180, 39, 179);
/* oklch */ color: oklch(55.5% 0.228 328.4);
Tailwind
colors: {
  custom: {
    50: '#cf73ca',
    500: '#b427b3',
    950: '#000000',
  },
}
SCSS
$custom: #b427b3;
$custom-light: #cf73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b427b3",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 300.426,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.2276,
    "h": 328.4
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B427B3

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

Preview Lab → · Contrast checker → · Palette generator →

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