#942EAE#942EAE

#942EAE is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.203 H 318.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#942EAE
RGBrgb(148, 46, 174)
HSLhsl(288, 58%, 43%)
HSVhsv(288, 74%, 68%)
CMYKcmyk(14.9%, 73.6%, 0%, 31.8%)
CIE-LABlab(40.09, 59.67, -47.85)
CIE-LCHlch(40.09, 76.49, 321.27°)
OKLaboklab(50.99% 0.1522 -0.1344)
OKLCHoklch(50.99% 0.203 318.6)
XYZxyz(20.8287, 11.3069, 41.1215)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942EAE #48AE2E
analogous
#542EAE #942EAE #AE2E88
triadic
#942EAE #AE942E #2EAE94
tetradic
#942EAE #AE542E #48AE2E #2E88AE
square
#942EAE #AE542E #48AE2E #2E88AE
split-complementary
#942EAE #88AE2E #2EAE54
monochromatic
#42144D #6B217E #942EAE #B44ACF #C87ADC

Accessibility & contrast

On white

6.44
#942EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#942EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942EAE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942EAE#FFFFFF#000000##FFFFFF
##942EAE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#94486C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942eae;
/* rgb */ color: rgb(148, 46, 174);
/* oklch */ color: oklch(51.0% 0.203 318.6);
Tailwind
colors: {
  custom: {
    50: '#b771c7',
    500: '#942eae',
    950: '#000000',
  },
}
SCSS
$custom: #942eae;
$custom-light: #b771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#942eae",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 287.813,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.20299,
    "h": 318.6
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#942EAE
secondary
#84C474
accent
#E14666
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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