#B742CE#B742CE

#B742CE is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.222 H 320.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B742CE
RGBrgb(183, 66, 206)
HSLhsl(290, 59%, 53%)
HSVhsv(290, 68%, 81%)
CMYKcmyk(11.2%, 68%, 0%, 19.2%)
CIE-LABlab(50.00, 65.55, -50.37)
CIE-LCHlch(50.00, 82.67, 322.46°)
OKLaboklab(59.75% 0.1715 -0.1408)
OKLCHoklch(59.75% 0.222 320.6)
XYZxyz(32.6159, 18.4216, 60.2183)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742CE #59CE42
analogous
#7142CE #B742CE #CE429F
triadic
#B742CE #CEB742 #42CEB7
tetradic
#B742CE #CE7142 #59CE42 #429FCE
square
#B742CE #CE7142 #59CE42 #429FCE
split-complementary
#B742CE #9FCE42 #42CE71
monochromatic
#681F77 #932BA7 #B742CE #CA73DB #DCA3E7

Accessibility & contrast

On white

4.48
#B742CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B742CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742CE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742CE#FFFFFF#000000##000000
##B742CE1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A6FD2
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#B85B83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b742ce;
/* rgb */ color: rgb(183, 66, 206);
/* oklch */ color: oklch(59.8% 0.222 320.6);
Tailwind
colors: {
  custom: {
    50: '#d080dd',
    500: '#b742ce',
    950: '#000000',
  },
}
SCSS
$custom: #b742ce;
$custom-light: #d080dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b742ce",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 290.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.22191,
    "h": 320.6
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#B742CE
secondary
#A2D498
accent
#E2465F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742CE

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

Preview Lab → · Contrast checker → · Palette generator →

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