#942CAE#942CAE

#942CAE is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.205 H 318.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#942CAE
RGBrgb(148, 44, 174)
HSLhsl(288, 60%, 43%)
HSVhsv(288, 75%, 68%)
CMYKcmyk(14.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(39.84, 60.39, -48.26)
CIE-LCHlch(39.84, 77.31, 321.37°)
OKLaboklab(50.81% 0.154 -0.1355)
OKLCHoklch(50.81% 0.205 318.7)
XYZxyz(20.7524, 11.1542, 41.0961)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CAE #46AE2C
analogous
#532CAE #942CAE #AE2C87
triadic
#942CAE #AE942C #2CAE94
tetradic
#942CAE #AE532C #46AE2C #2C87AE
square
#942CAE #AE532C #46AE2C #2C87AE
split-complementary
#942CAE #87AE2C #2CAE53
monochromatic
#41134C #6A207D #942CAE #B547D0 #C978DD

Accessibility & contrast

On white

6.50
#942CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#942CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CAE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CAE#FFFFFF#000000##FFFFFF
##942CAE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#94476B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942cae;
/* rgb */ color: rgb(148, 44, 174);
/* oklch */ color: oklch(50.8% 0.205 318.7);
Tailwind
colors: {
  custom: {
    50: '#b770c7',
    500: '#942cae',
    950: '#000000',
  },
}
SCSS
$custom: #942cae;
$custom-light: #b770c7;
$custom-dark: #000000;
JSON
{
  "hex": "#942cae",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 288,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.20519,
    "h": 318.7
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#942CAE
secondary
#82C571
accent
#E34565
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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