#B442EA#B442EA

#B442EA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.246 H 312.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B442EA
RGBrgb(180, 66, 234)
HSLhsl(281, 80%, 59%)
HSVhsv(281, 72%, 92%)
CMYKcmyk(23.1%, 71.8%, 0%, 8.2%)
CIE-LABlab(51.31, 70.33, -64.20)
CIE-LCHlch(51.31, 95.23, 317.61°)
OKLaboklab(61.15% 0.1655 -0.1814)
OKLCHoklch(61.15% 0.246 312.4)
XYZxyz(35.6192, 19.5413, 79.7214)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442EA #78EA42
analogous
#6042EA #B442EA #EA42CC
triadic
#B442EA #EAB442 #42EAB4
tetradic
#B442EA #EA6042 #78EA42 #42CCEA
square
#B442EA #EA6042 #78EA42 #42CCEA
split-complementary
#B442EA #CCEA42 #42EA60
monochromatic
#7212A0 #9A18D7 #B442EA #CA79F0 #E0B0F6

Accessibility & contrast

On white

4.28
#B442EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B442EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B442EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442EA#FFFFFF#000000##000000
##B442EA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#2E7DE6
Tritanopia (blue-blind)
#AE6793
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b442ea;
/* rgb */ color: rgb(180, 66, 234);
/* oklch */ color: oklch(61.2% 0.246 312.4);
Tailwind
colors: {
  custom: {
    50: '#cf80f2',
    500: '#b442ea',
    950: '#000000',
  },
}
SCSS
$custom: #b442ea;
$custom-light: #cf80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b442ea",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 280.714,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.24562,
    "h": 312.4
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#B442EA
secondary
#B8E5A3
accent
#F63171
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B442EA

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

Preview Lab → · Contrast checker → · Palette generator →

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