#942DAE#942DAE

#942DAE is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.204 H 318.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#942DAE
RGBrgb(148, 45, 174)
HSLhsl(288, 59%, 43%)
HSVhsv(288, 74%, 68%)
CMYKcmyk(14.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(39.96, 60.03, -48.06)
CIE-LCHlch(39.96, 76.90, 321.32°)
OKLaboklab(50.9% 0.1531 -0.135)
OKLCHoklch(50.9% 0.204 318.6)
XYZxyz(20.7901, 11.2296, 41.1086)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942DAE #47AE2D
analogous
#532DAE #942DAE #AE2D87
triadic
#942DAE #AE942D #2DAE94
tetradic
#942DAE #AE532D #47AE2D #2D87AE
square
#942DAE #AE532D #47AE2D #2D87AE
split-complementary
#942DAE #87AE2D #2DAE53
monochromatic
#41144D #6B207D #942DAE #B448D0 #C879DC

Accessibility & contrast

On white

6.47
#942DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#942DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942DAE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942DAE#FFFFFF#000000##FFFFFF
##942DAE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942dae;
/* rgb */ color: rgb(148, 45, 174);
/* oklch */ color: oklch(50.9% 0.204 318.6);
Tailwind
colors: {
  custom: {
    50: '#b771c7',
    500: '#942dae',
    950: '#000000',
  },
}
SCSS
$custom: #942dae;
$custom-light: #b771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#942dae",
  "rgb": {
    "r": 148,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 287.907,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.2041,
    "h": 318.6
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#942DAE
secondary
#83C472
accent
#E24665
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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