#B742CD#B742CD

#B742CD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.221 H 320.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B742CD
RGBrgb(183, 66, 205)
HSLhsl(291, 58%, 53%)
HSVhsv(291, 68%, 80%)
CMYKcmyk(10.7%, 67.8%, 0%, 19.6%)
CIE-LABlab(49.95, 65.37, -49.89)
CIE-LCHlch(49.95, 82.23, 322.65°)
OKLaboklab(59.69% 0.1715 -0.1394)
OKLCHoklch(59.69% 0.221 320.9)
XYZxyz(32.4948, 18.3732, 59.5805)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742CD #58CD42
analogous
#7242CD #B742CD #CD429D
triadic
#B742CD #CDB742 #42CDB7
tetradic
#B742CD #CD7242 #58CD42 #429DCD
square
#B742CD #CD7242 #58CD42 #429DCD
split-complementary
#B742CD #9DCD42 #42CD72
monochromatic
#681F76 #932CA6 #B742CD #C972DA #DCA3E7

Accessibility & contrast

On white

4.49
#B742CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B742CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742CD#FFFFFF#000000##000000
##B742CD1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD1
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#B85B83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b742cd;
/* rgb */ color: rgb(183, 66, 205);
/* oklch */ color: oklch(59.7% 0.221 320.9);
Tailwind
colors: {
  custom: {
    50: '#d080dd',
    500: '#b742cd',
    950: '#000000',
  },
}
SCSS
$custom: #b742cd;
$custom-light: #d080dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b742cd",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 290.504,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.22105,
    "h": 320.9
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#B742CD
secondary
#A1D397
accent
#E1465F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742CD

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

Preview Lab → · Contrast checker → · Palette generator →

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