#B742DF#B742DF

#B742DF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.237 H 316.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B742DF
RGBrgb(183, 66, 223)
HSLhsl(285, 71%, 57%)
HSVhsv(285, 70%, 87%)
CMYKcmyk(17.9%, 70.4%, 0%, 12.5%)
CIE-LABlab(51.03, 68.76, -58.43)
CIE-LCHlch(51.03, 90.23, 319.65°)
OKLaboklab(60.81% 0.1704 -0.1644)
OKLCHoklch(60.81% 0.237 316)
XYZxyz(34.7939, 19.2928, 71.6888)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742DF #6ADF42
analogous
#6942DF #B742DF #DF42B9
triadic
#B742DF #DFB742 #42DFB7
tetradic
#B742DF #DF6942 #6ADF42 #42B9DF
square
#B742DF #DF6942 #6ADF42 #42B9DF
split-complementary
#B742DF #B9DF42 #42DF69
monochromatic
#70188E #9A21C3 #B742DF #CB76E8 #DFABF1

Accessibility & contrast

On white

4.32
#B742DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B742DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742DF#FFFFFF#000000##000000
##B742DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#417DDB
Tritanopia (blue-blind)
#B4628C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b742df;
/* rgb */ color: rgb(183, 66, 223);
/* oklch */ color: oklch(60.8% 0.237 316.0);
Tailwind
colors: {
  custom: {
    50: '#d180ea',
    500: '#b742df',
    950: '#000000',
  },
}
SCSS
$custom: #b742df;
$custom-light: #d180ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b742df",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 284.713,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.23681,
    "h": 316
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#B742DF
secondary
#AFDF9E
accent
#EE3A68
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B742DF

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

Preview Lab → · Contrast checker → · Palette generator →

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