#942CA4#942CA4

#942CA4 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.197 H 322.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#942CA4
RGBrgb(148, 44, 164)
HSLhsl(292, 58%, 41%)
HSVhsv(292, 73%, 64%)
CMYKcmyk(9.8%, 73.2%, 0%, 35.7%)
CIE-LABlab(39.21, 58.51, -43.31)
CIE-LCHlch(39.21, 72.80, 323.49°)
OKLaboklab(50.15% 0.1549 -0.121)
OKLCHoklch(50.15% 0.197 322)
XYZxyz(19.8136, 10.7787, 36.1516)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CA4 #3CA42C
analogous
#582CA4 #942CA4 #A42C78
triadic
#942CA4 #A4942C #2CA494
tetradic
#942CA4 #A4582C #3CA42C #2C78A4
square
#942CA4 #A4582C #3CA42C #2C78A4
split-complementary
#942CA4 #78A42C #2CA458
monochromatic
#3D1243 #681F74 #942CA4 #BA41CC #CB71D9

Accessibility & contrast

On white

6.65
#942CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#942CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CA4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CA4#FFFFFF#000000##FFFFFF
##942CA41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#964266
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942ca4;
/* rgb */ color: rgb(148, 44, 164);
/* oklch */ color: oklch(50.2% 0.197 322.0);
Tailwind
colors: {
  custom: {
    50: '#b770bf',
    500: '#942ca4',
    950: '#000000',
  },
}
SCSS
$custom: #942ca4;
$custom-light: #b770bf;
$custom-dark: #000000;
JSON
{
  "hex": "#942ca4",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 292,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.19657,
    "h": 322
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#942CA4
secondary
#77C06B
accent
#E1475B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942CA4

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

Preview Lab → · Contrast checker → · Palette generator →

#942CA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva