#942CAC#942CAC

#942CAC is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.203 H 319.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#942CAC
RGBrgb(148, 44, 172)
HSLhsl(289, 59%, 42%)
HSVhsv(289, 74%, 67%)
CMYKcmyk(14%, 74.4%, 0%, 32.5%)
CIE-LABlab(39.71, 60.01, -47.28)
CIE-LCHlch(39.71, 76.40, 321.77°)
OKLaboklab(50.68% 0.1543 -0.1327)
OKLCHoklch(50.68% 0.203 319.3)
XYZxyz(20.5589, 11.0768, 40.0769)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CAC #44AC2C
analogous
#542CAC #942CAC #AC2C84
triadic
#942CAC #AC942C #2CAC94
tetradic
#942CAC #AC542C #44AC2C #2C84AC
square
#942CAC #AC542C #44AC2C #2C84AC
split-complementary
#942CAC #84AC2C #2CAC54
monochromatic
#40134B #6A207B #942CAC #B646D0 #C976DC

Accessibility & contrast

On white

6.53
#942CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#942CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CAC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CAC#FFFFFF#000000##FFFFFF
##942CAC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#94466A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942cac;
/* rgb */ color: rgb(148, 44, 172);
/* oklch */ color: oklch(50.7% 0.203 319.3);
Tailwind
colors: {
  custom: {
    50: '#b770c5',
    500: '#942cac',
    950: '#000000',
  },
}
SCSS
$custom: #942cac;
$custom-light: #b770c5;
$custom-dark: #000000;
JSON
{
  "hex": "#942cac",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 288.75,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.20346,
    "h": 319.3
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#942CAC
secondary
#80C470
accent
#E24563
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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