#B742DB#B742DB

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

Color values

HEX#B742DB
RGBrgb(183, 66, 219)
HSLhsl(286, 68%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(16.4%, 69.9%, 0%, 14.1%)
CIE-LABlab(50.78, 68.00, -56.55)
CIE-LCHlch(50.78, 88.44, 320.25°)
OKLaboklab(60.56% 0.1708 -0.1589)
OKLCHoklch(60.56% 0.233 317.1)
XYZxyz(34.2609, 19.0796, 68.8821)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742DB #66DB42
analogous
#6A42DB #B742DB #DB42B3
triadic
#B742DB #DBB742 #42DBB7
tetradic
#B742DB #DB6A42 #66DB42 #42B3DB
square
#B742DB #DB6A42 #66DB42 #42B3DB
split-complementary
#B742DB #B3DB42 #42DB6A
monochromatic
#6F1A89 #9824BC #B742DB #CB75E5 #DEA9EF

Accessibility & contrast

On white

4.36
#B742DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B742DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742DB#FFFFFF#000000##000000
##B742DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#457CD7
Tritanopia (blue-blind)
#B5608A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b742db;
/* rgb */ color: rgb(183, 66, 219);
/* oklch */ color: oklch(60.6% 0.233 317.1);
Tailwind
colors: {
  custom: {
    50: '#d180e7',
    500: '#b742db',
    950: '#000000',
  },
}
SCSS
$custom: #b742db;
$custom-light: #d180e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b742db",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 285.882,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.23328,
    "h": 317.1
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#B742DB
secondary
#ACDC9D
accent
#EB3D66
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B742DB

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

Preview Lab → · Contrast checker → · Palette generator →

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