#B74ECA#B74ECA

#B74ECA is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.8% C 0.203 H 321.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B74ECA
RGBrgb(183, 78, 202)
HSLhsl(291, 54%, 55%)
HSVhsv(291, 61%, 79%)
CMYKcmyk(9.4%, 61.4%, 0%, 20.8%)
CIE-LABlab(51.59, 59.78, -45.55)
CIE-LCHlch(51.59, 75.15, 322.69°)
OKLaboklab(60.82% 0.158 -0.1268)
OKLCHoklch(60.82% 0.203 321.2)
XYZxyz(32.9123, 19.7819, 57.9503)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74ECA #61CA4E
analogous
#794ECA #B74ECA #CA4E9F
triadic
#B74ECA #CAB74E #4ECAB7
tetradic
#B74ECA #CA794E #61CA4E #4E9FCA
square
#B74ECA #CA794E #61CA4E #4E9FCA
split-complementary
#B74ECA #9FCA4E #4ECA79
monochromatic
#6C2479 #9632A8 #B74ECA #CA7DD8 #DDACE6

Accessibility & contrast

On white

4.24
#B74ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B74ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74ECA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74ECA#FFFFFF#000000##000000
##B74ECA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3273CE
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#B96285
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74eca;
/* rgb */ color: rgb(183, 78, 202);
/* oklch */ color: oklch(60.8% 0.203 321.2);
Tailwind
colors: {
  custom: {
    50: '#d086db',
    500: '#b74eca',
    950: '#000000',
  },
}
SCSS
$custom: #b74eca;
$custom-light: #d086db;
$custom-dark: #000000;
JSON
{
  "hex": "#b74eca",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 290.806,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.20259,
    "h": 321.2
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#B74ECA
secondary
#A8D4A0
accent
#DD4B61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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