#B742EA#B742EA

#B742EA is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.247 H 313.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B742EA
RGBrgb(183, 66, 234)
HSLhsl(282, 80%, 59%)
HSVhsv(282, 72%, 92%)
CMYKcmyk(21.8%, 71.8%, 0%, 8.2%)
CIE-LABlab(51.73, 70.91, -63.51)
CIE-LCHlch(51.73, 95.19, 318.15°)
OKLaboklab(61.54% 0.1692 -0.1793)
OKLCHoklch(61.54% 0.247 313.3)
XYZxyz(36.3253, 19.9054, 79.7545)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742EA #75EA42
analogous
#6342EA #B742EA #EA42C9
triadic
#B742EA #EAB742 #42EAB7
tetradic
#B742EA #EA6342 #75EA42 #42C9EA
square
#B742EA #EA6342 #75EA42 #42C9EA
split-complementary
#B742EA #C9EA42 #42EA63
monochromatic
#7512A0 #9D18D7 #B742EA #CC79F0 #E1B0F6

Accessibility & contrast

On white

4.22
#B742EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B742EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742EA#FFFFFF#000000##000000
##B742EA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#337EE6
Tritanopia (blue-blind)
#B26793
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b742ea;
/* rgb */ color: rgb(183, 66, 234);
/* oklch */ color: oklch(61.5% 0.247 313.3);
Tailwind
colors: {
  custom: {
    50: '#d181f2',
    500: '#b742ea',
    950: '#000000',
  },
}
SCSS
$custom: #b742ea;
$custom-light: #d181f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b742ea",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 281.786,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.24657,
    "h": 313.3
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#B742EA
secondary
#B7E5A3
accent
#F6316D
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #B742EA

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

Preview Lab → · Contrast checker → · Palette generator →

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