#B740DC#B740DC

#B740DC is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.236 H 316.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B740DC
RGBrgb(183, 64, 220)
HSLhsl(286, 69%, 56%)
HSVhsv(286, 71%, 86%)
CMYKcmyk(16.8%, 70.9%, 0%, 13.7%)
CIE-LABlab(50.57, 68.95, -57.45)
CIE-LCHlch(50.57, 89.75, 320.20°)
OKLaboklab(60.43% 0.1727 -0.1615)
OKLCHoklch(60.43% 0.236 316.9)
XYZxyz(34.2782, 18.9028, 69.5393)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740DC #65DC40
analogous
#6940DC #B740DC #DC40B3
triadic
#B740DC #DCB740 #40DCB7
tetradic
#B740DC #DC6940 #65DC40 #40B3DC
square
#B740DC #DC6940 #65DC40 #40B3DC
split-complementary
#B740DC #B3DC40 #40DC69
monochromatic
#6E1989 #9823BC #B740DC #CA74E5 #DEA7EF

Accessibility & contrast

On white

4.39
#B740DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B740DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740DC#FFFFFF#000000##000000
##B740DC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#B5608A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b740dc;
/* rgb */ color: rgb(183, 64, 220);
/* oklch */ color: oklch(60.4% 0.236 316.9);
Tailwind
colors: {
  custom: {
    50: '#d17fe8',
    500: '#b740dc',
    950: '#000000',
  },
}
SCSS
$custom: #b740dc;
$custom-light: #d17fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b740dc",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 220
  },
  "hsl": {
    "h": 285.769,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.23645,
    "h": 316.9
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B740DC

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

Preview Lab → · Contrast checker → · Palette generator →

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