#B740D4#B740D4

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

Color values

HEX#B740D4
RGBrgb(183, 64, 212)
HSLhsl(288, 63%, 54%)
HSVhsv(288, 70%, 83%)
CMYKcmyk(13.7%, 69.8%, 0%, 16.9%)
CIE-LABlab(50.08, 67.44, -53.68)
CIE-LCHlch(50.08, 86.19, 321.48°)
OKLaboklab(59.92% 0.1733 -0.1505)
OKLCHoklch(59.92% 0.229 319)
XYZxyz(33.2439, 18.4891, 64.0922)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740D4 #5DD440
analogous
#6D40D4 #B740D4 #D440A7
triadic
#B740D4 #D4B740 #40D4B7
tetradic
#B740D4 #D46D40 #5DD440 #40A7D4
square
#B740D4 #D46D40 #5DD440 #40A7D4
split-complementary
#B740D4 #A7D440 #40D46D
monochromatic
#6A1C7D #9527AF #B740D4 #CA72DF #DDA4EA

Accessibility & contrast

On white

4.47
#B740D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B740D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740D4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740D4#FFFFFF#000000##000000
##B740D41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#B75C86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b740d4;
/* rgb */ color: rgb(183, 64, 212);
/* oklch */ color: oklch(59.9% 0.229 319.0);
Tailwind
colors: {
  custom: {
    50: '#d17fe2',
    500: '#b740d4',
    950: '#000000',
  },
}
SCSS
$custom: #b740d4;
$custom-light: #d17fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#b740d4",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 288.243,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.22949,
    "h": 319
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#B740D4
secondary
#A5D798
accent
#E64262
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B740D4

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

Preview Lab → · Contrast checker → · Palette generator →

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