#942AA9#942AA9

#942AA9 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 320.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#942AA9
RGBrgb(148, 42, 169)
HSLhsl(290, 60%, 41%)
HSVhsv(290, 75%, 66%)
CMYKcmyk(12.4%, 75.1%, 0%, 33.7%)
CIE-LABlab(39.27, 60.15, -46.19)
CIE-LCHlch(39.27, 75.84, 322.48°)
OKLaboklab(50.3% 0.1564 -0.1295)
OKLCHoklch(50.3% 0.203 320.4)
XYZxyz(20.2013, 10.8175, 38.5523)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942AA9 #3FA92A
analogous
#552AA9 #942AA9 #A92A7F
triadic
#942AA9 #A9942A #2AA994
tetradic
#942AA9 #A9552A #3FA92A #2A7FA9
square
#942AA9 #A9552A #3FA92A #2A7FA9
split-complementary
#942AA9 #7FA92A #2AA955
monochromatic
#3E1247 #691E78 #942AA9 #B841D0 #CA72DC

Accessibility & contrast

On white

6.64
#942AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942AA9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942AA9#FFFFFF#000000##FFFFFF
##942AA91.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#3760A6
Tritanopia (blue-blind)
#954368
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942aa9;
/* rgb */ color: rgb(148, 42, 169);
/* oklch */ color: oklch(50.3% 0.203 320.4);
Tailwind
colors: {
  custom: {
    50: '#b76fc3',
    500: '#942aa9',
    950: '#000000',
  },
}
SCSS
$custom: #942aa9;
$custom-light: #b76fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#942aa9",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 290.079,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.20303,
    "h": 320.4
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#942AA9
secondary
#7AC36C
accent
#E3445F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #942AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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