#B740D5#B740D5

#B740D5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.230 H 318.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B740D5
RGBrgb(183, 64, 213)
HSLhsl(288, 64%, 54%)
HSVhsv(288, 70%, 84%)
CMYKcmyk(14.1%, 70%, 0%, 16.5%)
CIE-LABlab(50.14, 67.63, -54.15)
CIE-LCHlch(50.14, 86.64, 321.31°)
OKLaboklab(59.99% 0.1732 -0.1519)
OKLCHoklch(59.99% 0.23 318.8)
XYZxyz(33.3705, 18.5397, 64.7586)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740D5 #5ED540
analogous
#6C40D5 #B740D5 #D540A9
triadic
#B740D5 #D5B740 #40D5B7
tetradic
#B740D5 #D56C40 #5ED540 #40A9D5
square
#B740D5 #D56C40 #5ED540 #40A9D5
split-complementary
#B740D5 #A9D540 #40D56C
monochromatic
#6B1C7F #9527B1 #B740D5 #CA72E0 #DDA4EB

Accessibility & contrast

On white

4.46
#B740D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B740D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740D5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740D5#FFFFFF#000000##000000
##B740D51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#497BD2
Tritanopia (blue-blind)
#B75D86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b740d5;
/* rgb */ color: rgb(183, 64, 213);
/* oklch */ color: oklch(60.0% 0.230 318.8);
Tailwind
colors: {
  custom: {
    50: '#d17fe3',
    500: '#b740d5',
    950: '#000000',
  },
}
SCSS
$custom: #b740d5;
$custom-light: #d17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#b740d5",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 287.919,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.23036,
    "h": 318.8
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#B740D5
secondary
#A6D899
accent
#E74162
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B740D5

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

Preview Lab → · Contrast checker → · Palette generator →

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