#B742D2#B742D2

#B742D2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.225 H 319.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B742D2
RGBrgb(183, 66, 210)
HSLhsl(289, 62%, 54%)
HSVhsv(289, 69%, 82%)
CMYKcmyk(12.9%, 68.6%, 0%, 17.6%)
CIE-LABlab(50.24, 66.30, -52.29)
CIE-LCHlch(50.24, 84.43, 321.74°)
OKLaboklab(60% 0.1714 -0.1464)
OKLCHoklch(60% 0.225 319.5)
XYZxyz(33.1080, 18.6184, 62.8101)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742D2 #5DD242
analogous
#6F42D2 #B742D2 #D242A5
triadic
#B742D2 #D2B742 #42D2B7
tetradic
#B742D2 #D26F42 #5DD242 #42A5D2
square
#B742D2 #D26F42 #5DD242 #42A5D2
split-complementary
#B742D2 #A5D242 #42D26F
monochromatic
#6A1E7C #9529AD #B742D2 #CA73DE #DDA5EA

Accessibility & contrast

On white

4.45
#B742D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B742D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742D2#FFFFFF#000000##000000
##B742D21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#4D7CCF
Tritanopia (blue-blind)
#B75D85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b742d2;
/* rgb */ color: rgb(183, 66, 210);
/* oklch */ color: oklch(60.0% 0.225 319.5);
Tailwind
colors: {
  custom: {
    50: '#d080e0',
    500: '#b742d2',
    950: '#000000',
  },
}
SCSS
$custom: #b742d2;
$custom-light: #d080e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b742d2",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 288.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.22539,
    "h": 319.5
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#B742D2
secondary
#A5D799
accent
#E54361
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742D2

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

Preview Lab → · Contrast checker → · Palette generator →

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