#B740E2#B740E2

#B740E2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.242 H 315.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B740E2
RGBrgb(183, 64, 226)
HSLhsl(284, 74%, 57%)
HSVhsv(284, 72%, 89%)
CMYKcmyk(19%, 71.7%, 0%, 11.4%)
CIE-LABlab(50.95, 70.10, -60.25)
CIE-LCHlch(50.95, 92.43, 319.32°)
OKLaboklab(60.82% 0.1721 -0.1697)
OKLCHoklch(60.82% 0.242 315.4)
XYZxyz(35.0871, 19.2264, 73.7996)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740E2 #6BE240
analogous
#6640E2 #B740E2 #E240BC
triadic
#B740E2 #E2B740 #40E2B7
tetradic
#B740E2 #E26640 #6BE240 #40BCE2
square
#B740E2 #E26640 #6BE240 #40BCE2
split-complementary
#B740E2 #BCE240 #40E266
monochromatic
#711692 #9A1EC7 #B740E2 #CB75EA #DFAAF2

Accessibility & contrast

On white

4.33
#B740E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B740E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740E2#FFFFFF#000000##000000
##B740E21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#B4628E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b740e2;
/* rgb */ color: rgb(183, 64, 226);
/* oklch */ color: oklch(60.8% 0.242 315.4);
Tailwind
colors: {
  custom: {
    50: '#d17fec',
    500: '#b740e2',
    950: '#000000',
  },
}
SCSS
$custom: #b740e2;
$custom-light: #d17fec;
$custom-dark: #000000;
JSON
{
  "hex": "#b740e2",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 226
  },
  "hsl": {
    "h": 284.074,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.24169,
    "h": 315.4
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#B740E2
secondary
#AFE09E
accent
#F03869
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B740E2

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

Preview Lab → · Contrast checker → · Palette generator →

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