#B740D3#B740D3

#B740D3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.229 H 319.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B740D3
RGBrgb(183, 64, 211)
HSLhsl(289, 63%, 54%)
HSVhsv(289, 70%, 83%)
CMYKcmyk(13.3%, 69.7%, 0%, 17.3%)
CIE-LABlab(50.02, 67.25, -53.20)
CIE-LCHlch(50.02, 85.75, 321.65°)
OKLaboklab(59.86% 0.1733 -0.1491)
OKLCHoklch(59.86% 0.229 319.3)
XYZxyz(33.1182, 18.4388, 63.4300)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740D3 #5CD340
analogous
#6E40D3 #B740D3 #D340A6
triadic
#B740D3 #D3B740 #40D3B7
tetradic
#B740D3 #D36E40 #5CD340 #40A6D3
square
#B740D3 #D36E40 #5CD340 #40A6D3
split-complementary
#B740D3 #A6D340 #40D36E
monochromatic
#6A1D7C #9428AE #B740D3 #CA72DE #DDA3EA

Accessibility & contrast

On white

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

On black

4.69
#B740D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740D3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740D3#FFFFFF#000000##000000
##B740D31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#B75C85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b740d3;
/* rgb */ color: rgb(183, 64, 211);
/* oklch */ color: oklch(59.9% 0.229 319.3);
Tailwind
colors: {
  custom: {
    50: '#d07fe1',
    500: '#b740d3',
    950: '#000000',
  },
}
SCSS
$custom: #b740d3;
$custom-light: #d07fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#b740d3",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 288.571,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.22862,
    "h": 319.3
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#B740D3
secondary
#A4D798
accent
#E64261
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B740D3

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

Preview Lab → · Contrast checker → · Palette generator →

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