#B442E7#B442E7

#B442E7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.243 H 313.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B442E7
RGBrgb(180, 66, 231)
HSLhsl(281, 77%, 58%)
HSVhsv(281, 71%, 91%)
CMYKcmyk(22.1%, 71.4%, 0%, 9.4%)
CIE-LABlab(51.12, 69.74, -62.83)
CIE-LCHlch(51.12, 93.86, 317.98°)
OKLaboklab(60.95% 0.1659 -0.1774)
OKLCHoklch(60.95% 0.243 313.1)
XYZxyz(35.1919, 19.3703, 77.4708)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B442E7 #75E742
analogous
#6242E7 #B442E7 #E742C7
triadic
#B442E7 #E7B442 #42E7B4
tetradic
#B442E7 #E76242 #75E742 #42C7E7
square
#B442E7 #E76242 #75E742 #42C7E7
split-complementary
#B442E7 #C7E742 #42E762
monochromatic
#71149B #991BD1 #B442E7 #CA78EE #DFAFF5

Accessibility & contrast

On white

4.31
#B442E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B442E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B442E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B442E7#FFFFFF#000000##000000
##B442E71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#AF6691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b442e7;
/* rgb */ color: rgb(180, 66, 231);
/* oklch */ color: oklch(61.0% 0.243 313.1);
Tailwind
colors: {
  custom: {
    50: '#cf80ef',
    500: '#b442e7',
    950: '#000000',
  },
}
SCSS
$custom: #b442e7;
$custom-light: #cf80ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b442e7",
  "rgb": {
    "r": 180,
    "g": 66,
    "b": 231
  },
  "hsl": {
    "h": 281.455,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.24291,
    "h": 313.1
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#B442E7
secondary
#B6E3A2
accent
#F4346F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B442E7

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

Preview Lab → · Contrast checker → · Palette generator →

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