#B740D9#B740D9

#B740D9 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.234 H 317.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B740D9
RGBrgb(183, 64, 217)
HSLhsl(287, 67%, 55%)
HSVhsv(287, 71%, 85%)
CMYKcmyk(15.7%, 70.5%, 0%, 14.9%)
CIE-LABlab(50.39, 68.38, -56.04)
CIE-LCHlch(50.39, 88.41, 320.66°)
OKLaboklab(60.24% 0.1729 -0.1574)
OKLCHoklch(60.24% 0.234 317.7)
XYZxyz(33.8844, 18.7453, 67.4655)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740D9 #62D940
analogous
#6B40D9 #B740D9 #D940AE
triadic
#B740D9 #D9B740 #40D9B7
tetradic
#B740D9 #D96B40 #62D940 #40AED9
square
#B740D9 #D96B40 #62D940 #40AED9
split-complementary
#B740D9 #AED940 #40D96B
monochromatic
#6D1A84 #9724B7 #B740D9 #CA73E3 #DDA6ED

Accessibility & contrast

On white

4.42
#B740D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B740D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740D9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740D9#FFFFFF#000000##000000
##B740D91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#457CD5
Tritanopia (blue-blind)
#B65E89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b740d9;
/* rgb */ color: rgb(183, 64, 217);
/* oklch */ color: oklch(60.2% 0.234 317.7);
Tailwind
colors: {
  custom: {
    50: '#d17fe5',
    500: '#b740d9',
    950: '#000000',
  },
}
SCSS
$custom: #b740d9;
$custom-light: #d17fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b740d9",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 286.667,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.23384,
    "h": 317.7
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#B740D9
secondary
#A9DA9A
accent
#EA3E64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B740D9

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

Preview Lab → · Contrast checker → · Palette generator →

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