#B427B0#B427B0

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

Color values

HEX#B427B0
RGBrgb(180, 39, 176)
HSLhsl(302, 64%, 43%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 78.3%, 2.2%, 29.4%)
CIE-LABlab(44.65, 68.82, -41.46)
CIE-LCHlch(44.65, 80.35, 328.93°)
OKLaboklab(55.28% 0.194 -0.1148)
OKLCHoklch(55.28% 0.225 329.4)
XYZxyz(27.3842, 14.2911, 42.3820)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B427B0 #27B42B
analogous
#7127B4 #B427B0 #B42769
triadic
#B427B0 #B0B427 #27B0B4
tetradic
#B427B0 #B47127 #27B42B #2769B4
square
#B427B0 #B47127 #27B42B #2769B4
split-complementary
#B427B0 #69B427 #27B471
monochromatic
#4F114E #821C7F #B427B0 #D642D2 #E174DE

Accessibility & contrast

On white

5.44
#B427B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B427B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B427B0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B427B0#FFFFFF#000000##FFFFFF
##B427B01.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB4
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#BA3D6B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b427b0;
/* rgb */ color: rgb(180, 39, 176);
/* oklch */ color: oklch(55.3% 0.225 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf73c8',
    500: '#b427b0',
    950: '#000000',
  },
}
SCSS
$custom: #b427b0;
$custom-light: #cf73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b427b0",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 301.702,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.22542,
    "h": 329.4
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#B427B0
secondary
#6FC871
accent
#E74540
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B427B0

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

Preview Lab → · Contrast checker → · Palette generator →

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