#B740DB#B740DB

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

Color values

HEX#B740DB
RGBrgb(183, 64, 219)
HSLhsl(286, 68%, 55%)
HSVhsv(286, 71%, 86%)
CMYKcmyk(16.4%, 70.8%, 0%, 14.1%)
CIE-LABlab(50.51, 68.76, -56.98)
CIE-LCHlch(50.51, 89.30, 320.35°)
OKLaboklab(60.36% 0.1727 -0.1602)
OKLCHoklch(60.36% 0.236 317.2)
XYZxyz(34.1461, 18.8500, 68.8439)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740DB #64DB40
analogous
#6A40DB #B740DB #DB40B1
triadic
#B740DB #DBB740 #40DBB7
tetradic
#B740DB #DB6A40 #64DB40 #40B1DB
square
#B740DB #DB6A40 #64DB40 #40B1DB
split-complementary
#B740DB #B1DB40 #40DB6A
monochromatic
#6E1987 #9723BB #B740DB #CA73E5 #DEA7EE

Accessibility & contrast

On white

4.40
#B740DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B740DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740DB#FFFFFF#000000##000000
##B740DB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#437CD7
Tritanopia (blue-blind)
#B55F8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b740db;
/* rgb */ color: rgb(183, 64, 219);
/* oklch */ color: oklch(60.4% 0.236 317.2);
Tailwind
colors: {
  custom: {
    50: '#d17fe7',
    500: '#b740db',
    950: '#000000',
  },
}
SCSS
$custom: #b740db;
$custom-light: #d17fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b740db",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 286.065,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.23557,
    "h": 317.2
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#B740DB
secondary
#AADC9B
accent
#EB3D65
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B740DB

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

Preview Lab → · Contrast checker → · Palette generator →

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