#942AAE#942AAE

#942AAE is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.207 H 318.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#942AAE
RGBrgb(148, 42, 174)
HSLhsl(288, 61%, 42%)
HSVhsv(288, 76%, 68%)
CMYKcmyk(14.9%, 75.9%, 0%, 31.8%)
CIE-LABlab(39.60, 61.09, -48.65)
CIE-LCHlch(39.60, 78.10, 321.47°)
OKLaboklab(50.64% 0.1559 -0.1367)
OKLCHoklch(50.64% 0.207 318.8)
XYZxyz(20.6797, 11.0088, 41.0718)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942AAE #44AE2A
analogous
#522AAE #942AAE #AE2A86
triadic
#942AAE #AE942A #2AAE94
tetradic
#942AAE #AE522A #44AE2A #2A86AE
square
#942AAE #AE522A #44AE2A #2A86AE
split-complementary
#942AAE #86AE2A #2AAE52
monochromatic
#40124B #6A1E7D #942AAE #B643D2 #C975DE

Accessibility & contrast

On white

6.56
#942AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#942AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942AAE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942AAE#FFFFFF#000000##FFFFFF
##942AAE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#3261AB
Tritanopia (blue-blind)
#94466B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942aae;
/* rgb */ color: rgb(148, 42, 174);
/* oklch */ color: oklch(50.6% 0.207 318.8);
Tailwind
colors: {
  custom: {
    50: '#b76fc7',
    500: '#942aae',
    950: '#000000',
  },
}
SCSS
$custom: #942aae;
$custom-light: #b76fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#942aae",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 288.182,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.20731,
    "h": 318.8
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#942AAE
secondary
#80C56F
accent
#E44463
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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