#942CA8#942CA8

#942CA8 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.200 H 320.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#942CA8
RGBrgb(148, 44, 168)
HSLhsl(290, 58%, 42%)
HSVhsv(290, 74%, 66%)
CMYKcmyk(11.9%, 73.8%, 0%, 34.1%)
CIE-LABlab(39.45, 59.26, -45.30)
CIE-LCHlch(39.45, 74.59, 322.60°)
OKLaboklab(50.41% 0.1546 -0.1269)
OKLCHoklch(50.41% 0.2 320.6)
XYZxyz(20.1805, 10.9255, 38.0841)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CA8 #40A82C
analogous
#562CA8 #942CA8 #A82C7E
triadic
#942CA8 #A8942C #2CA894
tetradic
#942CA8 #A8562C #40A82C #2C7EA8
square
#942CA8 #A8562C #40A82C #2C7EA8
split-complementary
#942CA8 #7EA82C #2CA856
monochromatic
#3F1347 #691F78 #942CA8 #B843CE #CA74DB

Accessibility & contrast

On white

6.59
#942CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#942CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CA8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CA8#FFFFFF#000000##FFFFFF
##942CA81.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3961A5
Tritanopia (blue-blind)
#954468
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942ca8;
/* rgb */ color: rgb(148, 44, 168);
/* oklch */ color: oklch(50.4% 0.200 320.6);
Tailwind
colors: {
  custom: {
    50: '#b770c2',
    500: '#942ca8',
    950: '#000000',
  },
}
SCSS
$custom: #942ca8;
$custom-light: #b770c2;
$custom-dark: #000000;
JSON
{
  "hex": "#942ca8",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 290.323,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.20001,
    "h": 320.6
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#942CA8
secondary
#7BC26E
accent
#E2465F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #942CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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