#B742DC#B742DC

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

Color values

HEX#B742DC
RGBrgb(183, 66, 220)
HSLhsl(286, 69%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(16.8%, 70%, 0%, 13.7%)
CIE-LABlab(50.84, 68.19, -57.02)
CIE-LCHlch(50.84, 88.89, 320.10°)
OKLaboklab(60.62% 0.1707 -0.1603)
OKLCHoklch(60.62% 0.234 316.8)
XYZxyz(34.3930, 19.1324, 69.5775)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742DC #67DC42
analogous
#6A42DC #B742DC #DC42B4
triadic
#B742DC #DCB742 #42DCB7
tetradic
#B742DC #DC6A42 #67DC42 #42B4DC
square
#B742DC #DC6A42 #67DC42 #42B4DC
split-complementary
#B742DC #B4DC42 #42DC6A
monochromatic
#6F1A8A #9923BE #B742DC #CB76E6 #DEA9EF

Accessibility & contrast

On white

4.35
#B742DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B742DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742DC#FFFFFF#000000##000000
##B742DC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#B5618B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b742dc;
/* rgb */ color: rgb(183, 66, 220);
/* oklch */ color: oklch(60.6% 0.234 316.8);
Tailwind
colors: {
  custom: {
    50: '#d180e8',
    500: '#b742dc',
    950: '#000000',
  },
}
SCSS
$custom: #b742dc;
$custom-light: #d180e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b742dc",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 285.584,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.23416,
    "h": 316.8
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#B742DC
secondary
#ACDD9D
accent
#EC3C66
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B742DC

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

Preview Lab → · Contrast checker → · Palette generator →

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