#B442E2#B442E2

#B442E2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.238 H 314.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B442E2
RGBrgb(180, 66, 226)
HSLhsl(283, 73%, 57%)
HSVhsv(283, 71%, 89%)
CMYKcmyk(20.4%, 70.8%, 0%, 11.4%)
CIE-LABlab(50.79, 68.75, -60.52)
CIE-LCHlch(50.79, 91.59, 318.64°)
OKLaboklab(60.62% 0.1665 -0.1706)
OKLCHoklch(60.62% 0.238 314.3)
XYZxyz(34.4958, 19.0919, 73.8047)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442E2 #70E242
analogous
#6442E2 #B442E2 #E242C0
triadic
#B442E2 #E2B442 #42E2B4
tetradic
#B442E2 #E26442 #70E242 #42C0E2
square
#B442E2 #E26442 #70E242 #42C0E2
split-complementary
#B442E2 #C0E242 #42E264
monochromatic
#6F1793 #971FC8 #B442E2 #C977EA #DEACF2

Accessibility & contrast

On white

4.36
#B442E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B442E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B442E2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442E2#FFFFFF#000000##000000
##B442E21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#397CDE
Tritanopia (blue-blind)
#B0648E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b442e2;
/* rgb */ color: rgb(180, 66, 226);
/* oklch */ color: oklch(60.6% 0.238 314.3);
Tailwind
colors: {
  custom: {
    50: '#cf80ec',
    500: '#b442e2',
    950: '#000000',
  },
}
SCSS
$custom: #b442e2;
$custom-light: #cf80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b442e2",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 282.75,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.23843,
    "h": 314.3
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#B442E2
secondary
#B2E09F
accent
#F0386D
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B442E2

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

Preview Lab → · Contrast checker → · Palette generator →

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