#B740E1#B740E1

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

Color values

HEX#B740E1
RGBrgb(183, 64, 225)
HSLhsl(284, 73%, 57%)
HSVhsv(284, 72%, 88%)
CMYKcmyk(18.7%, 71.6%, 0%, 11.8%)
CIE-LABlab(50.89, 69.91, -59.79)
CIE-LCHlch(50.89, 91.98, 319.46°)
OKLaboklab(60.75% 0.1722 -0.1684)
OKLCHoklch(60.75% 0.241 315.6)
XYZxyz(34.9503, 19.1716, 73.0790)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740E1 #6AE140
analogous
#6740E1 #B740E1 #E140BB
triadic
#B740E1 #E1B740 #40E1B7
tetradic
#B740E1 #E16740 #6AE140 #40BBE1
square
#B740E1 #E16740 #6AE140 #40BBE1
split-complementary
#B740E1 #BBE140 #40E167
monochromatic
#701790 #9A1FC5 #B740E1 #CB75E9 #DFAAF2

Accessibility & contrast

On white

4.34
#B740E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B740E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740E1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740E1#FFFFFF#000000##000000
##B740E11.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#3D7CDD
Tritanopia (blue-blind)
#B4628D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b740e1;
/* rgb */ color: rgb(183, 64, 225);
/* oklch */ color: oklch(60.8% 0.241 315.6);
Tailwind
colors: {
  custom: {
    50: '#d17feb',
    500: '#b740e1',
    950: '#000000',
  },
}
SCSS
$custom: #b740e1;
$custom-light: #d17feb;
$custom-dark: #000000;
JSON
{
  "hex": "#b740e1",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 225
  },
  "hsl": {
    "h": 284.348,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.24082,
    "h": 315.6
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#B740E1
secondary
#AFDF9D
accent
#F03868
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B740E1

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

Preview Lab → · Contrast checker → · Palette generator →

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