#B74EC7#B74EC7

#B74EC7 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.7% C 0.200 H 322.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B74EC7
RGBrgb(183, 78, 199)
HSLhsl(292, 52%, 54%)
HSVhsv(292, 61%, 78%)
CMYKcmyk(8%, 60.8%, 0%, 22%)
CIE-LABlab(51.43, 59.21, -44.08)
CIE-LCHlch(51.43, 73.82, 323.34°)
OKLaboklab(60.66% 0.1579 -0.1226)
OKLCHoklch(60.66% 0.2 322.2)
XYZxyz(32.5606, 19.6412, 56.0978)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EC7 #5EC74E
analogous
#7B4EC7 #B74EC7 #C74E9B
triadic
#B74EC7 #C7B74E #4EC7B7
tetradic
#B74EC7 #C77B4E #5EC74E #4E9BC7
square
#B74EC7 #C77B4E #5EC74E #4E9BC7
split-complementary
#B74EC7 #9BC74E #4EC77B
monochromatic
#6B2575 #9534A4 #B74EC7 #CA7CD6 #DDABE4

Accessibility & contrast

On white

4.26
#B74EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B74EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EC7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EC7#FFFFFF#000000##000000
##B74EC71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3573CB
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#B96083
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74ec7;
/* rgb */ color: rgb(183, 78, 199);
/* oklch */ color: oklch(60.7% 0.200 322.2);
Tailwind
colors: {
  custom: {
    50: '#d086d8',
    500: '#b74ec7',
    950: '#000000',
  },
}
SCSS
$custom: #b74ec7;
$custom-light: #d086d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ec7",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 292.066,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.19986,
    "h": 322.2
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#B74EC7
secondary
#A6D29F
accent
#DB4C5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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