#942CA9#942CA9

#942CA9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.201 H 320.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#942CA9
RGBrgb(148, 44, 169)
HSLhsl(290, 59%, 42%)
HSVhsv(290, 74%, 66%)
CMYKcmyk(12.4%, 74%, 0%, 33.7%)
CIE-LABlab(39.52, 59.45, -45.80)
CIE-LCHlch(39.52, 75.04, 322.39°)
OKLaboklab(50.48% 0.1545 -0.1283)
OKLCHoklch(50.48% 0.201 320.3)
XYZxyz(20.2740, 10.9629, 38.5766)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CA9 #41A92C
analogous
#562CA9 #942CA9 #A92C80
triadic
#942CA9 #A9942C #2CA994
tetradic
#942CA9 #A9562C #41A92C #2C80A9
square
#942CA9 #A9562C #41A92C #2C80A9
split-complementary
#942CA9 #80A92C #2CA956
monochromatic
#3F1348 #691F78 #942CA9 #B744CE #CA74DB

Accessibility & contrast

On white

6.58
#942CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#942CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CA9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CA9#FFFFFF#000000##FFFFFF
##942CA91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3861A6
Tritanopia (blue-blind)
#954568
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942ca9;
/* rgb */ color: rgb(148, 44, 169);
/* oklch */ color: oklch(50.5% 0.201 320.3);
Tailwind
colors: {
  custom: {
    50: '#b770c3',
    500: '#942ca9',
    950: '#000000',
  },
}
SCSS
$custom: #942ca9;
$custom-light: #b770c3;
$custom-dark: #000000;
JSON
{
  "hex": "#942ca9",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 289.92,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50477,
    "c": 0.20087,
    "h": 320.3
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#942CA9
secondary
#7CC36E
accent
#E24660
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #942CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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