#B74ECC#B74ECC

#B74ECC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.9% C 0.204 H 320.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B74ECC
RGBrgb(183, 78, 204)
HSLhsl(290, 55%, 55%)
HSVhsv(290, 62%, 80%)
CMYKcmyk(10.3%, 61.8%, 0%, 20%)
CIE-LABlab(51.70, 60.15, -46.52)
CIE-LCHlch(51.70, 76.04, 322.28°)
OKLaboklab(60.94% 0.158 -0.1297)
OKLCHoklch(60.94% 0.204 320.6)
XYZxyz(33.1506, 19.8773, 59.2055)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74ECC #63CC4E
analogous
#784ECC #B74ECC #CC4EA2
triadic
#B74ECC #CCB74E #4ECCB7
tetradic
#B74ECC #CC784E #63CC4E #4EA2CC
square
#B74ECC #CC784E #63CC4E #4EA2CC
split-complementary
#B74ECC #A2CC4E #4ECC78
monochromatic
#6D247C #9731AB #B74ECC #CA7EDA #DEADE7

Accessibility & contrast

On white

4.22
#B74ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B74ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74ECC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74ECC#FFFFFF#000000##000000
##B74ECC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#B86286
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74ecc;
/* rgb */ color: rgb(183, 78, 204);
/* oklch */ color: oklch(60.9% 0.204 320.6);
Tailwind
colors: {
  custom: {
    50: '#d086dc',
    500: '#b74ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b74ecc;
$custom-light: #d086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ecc",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 290,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.20443,
    "h": 320.6
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#B74ECC
secondary
#A9D5A1
accent
#DF4962
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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