#B742D3#B742D3

#B742D3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.226 H 319.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B742D3
RGBrgb(183, 66, 211)
HSLhsl(288, 62%, 54%)
HSVhsv(288, 69%, 83%)
CMYKcmyk(13.3%, 68.7%, 0%, 17.3%)
CIE-LABlab(50.30, 66.48, -52.76)
CIE-LCHlch(50.30, 84.88, 321.56°)
OKLaboklab(60.06% 0.1713 -0.1478)
OKLCHoklch(60.06% 0.226 319.2)
XYZxyz(33.2330, 18.6684, 63.4682)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742D3 #5ED342
analogous
#6F42D3 #B742D3 #D342A7
triadic
#B742D3 #D3B742 #42D3B7
tetradic
#B742D3 #D36F42 #5ED342 #42A7D3
square
#B742D3 #D36F42 #5ED342 #42A7D3
split-complementary
#B742D3 #A7D342 #42D36F
monochromatic
#6B1D7D #9529AF #B742D3 #CA74DF #DDA5EA

Accessibility & contrast

On white

4.44
#B742D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B742D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742D3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742D3#FFFFFF#000000##000000
##B742D31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#4C7CD0
Tritanopia (blue-blind)
#B75D86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b742d3;
/* rgb */ color: rgb(183, 66, 211);
/* oklch */ color: oklch(60.1% 0.226 319.2);
Tailwind
colors: {
  custom: {
    50: '#d080e1',
    500: '#b742d3',
    950: '#000000',
  },
}
SCSS
$custom: #b742d3;
$custom-light: #d080e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b742d3",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 288.414,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.22626,
    "h": 319.2
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#B742D3
secondary
#A6D79A
accent
#E54262
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742D3

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

Preview Lab → · Contrast checker → · Palette generator →

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