#B74EC8#B74EC8

#B74EC8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.7% C 0.201 H 321.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B74EC8
RGBrgb(183, 78, 200)
HSLhsl(292, 53%, 55%)
HSVhsv(292, 61%, 78%)
CMYKcmyk(8.5%, 61%, 0%, 21.6%)
CIE-LABlab(51.48, 59.40, -44.57)
CIE-LCHlch(51.48, 74.26, 323.12°)
OKLaboklab(60.71% 0.1579 -0.124)
OKLCHoklch(60.71% 0.201 321.9)
XYZxyz(32.6770, 19.6878, 56.7113)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EC8 #5FC84E
analogous
#7A4EC8 #B74EC8 #C84E9C
triadic
#B74EC8 #C8B74E #4EC8B7
tetradic
#B74EC8 #C87A4E #5FC84E #4E9CC8
square
#B74EC8 #C87A4E #5FC84E #4E9CC8
split-complementary
#B74EC8 #9CC84E #4EC87A
monochromatic
#6B2577 #9633A5 #B74EC8 #CA7DD7 #DDABE5

Accessibility & contrast

On white

4.25
#B74EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B74EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EC8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EC8#FFFFFF#000000##000000
##B74EC81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#B96184
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74ec8;
/* rgb */ color: rgb(183, 78, 200);
/* oklch */ color: oklch(60.7% 0.201 321.9);
Tailwind
colors: {
  custom: {
    50: '#d086d9',
    500: '#b74ec8',
    950: '#000000',
  },
}
SCSS
$custom: #b74ec8;
$custom-light: #d086d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ec8",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 291.639,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.20077,
    "h": 321.9
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#B74EC8
secondary
#A6D39F
accent
#DC4C60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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