#B740C8#B740C8

#B740C8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.219 H 322.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B740C8
RGBrgb(183, 64, 200)
HSLhsl(293, 55%, 52%)
HSVhsv(293, 68%, 78%)
CMYKcmyk(8.5%, 68%, 0%, 21.6%)
CIE-LABlab(49.38, 65.24, -47.91)
CIE-LCHlch(49.38, 80.94, 323.71°)
OKLaboklab(59.19% 0.1738 -0.1336)
OKLCHoklch(59.19% 0.219 322.4)
XYZxyz(31.7861, 17.9060, 56.4143)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740C8 #51C840
analogous
#7340C8 #B740C8 #C84095
triadic
#B740C8 #C8B740 #40C8B7
tetradic
#B740C8 #C87340 #51C840 #4095C8
square
#B740C8 #C87340 #51C840 #4095C8
split-complementary
#B740C8 #95C840 #40C873
monochromatic
#64206E #8F2D9D #B740C8 #C970D6 #DB9FE3

Accessibility & contrast

On white

4.58
#B740C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B740C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B740C8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740C8#FFFFFF#000000##000000
##B740C81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#156DCC
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#B9577F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b740c8;
/* rgb */ color: rgb(183, 64, 200);
/* oklch */ color: oklch(59.2% 0.219 322.4);
Tailwind
colors: {
  custom: {
    50: '#d07ed9',
    500: '#b740c8',
    950: '#000000',
  },
}
SCSS
$custom: #b740c8;
$custom-light: #d07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b740c8",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 292.5,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59194,
    "c": 0.2192,
    "h": 322.4
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#B740C8
secondary
#9CD094
accent
#DF495C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B740C8

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

Preview Lab → · Contrast checker → · Palette generator →

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