#942EAD#942EAD

#942EAD is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.202 H 318.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#942EAD
RGBrgb(148, 46, 173)
HSLhsl(288, 58%, 43%)
HSVhsv(288, 73%, 68%)
CMYKcmyk(14.5%, 73.4%, 0%, 32.2%)
CIE-LABlab(40.03, 59.48, -47.36)
CIE-LCHlch(40.03, 76.03, 321.47°)
OKLaboklab(50.92% 0.1522 -0.1329)
OKLCHoklch(50.92% 0.202 318.9)
XYZxyz(20.7316, 11.2680, 40.6100)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942EAD #47AD2E
analogous
#542EAD #942EAD #AD2E86
triadic
#942EAD #AD942E #2EAD94
tetradic
#942EAD #AD542E #47AD2E #2E86AD
square
#942EAD #AD542E #47AD2E #2E86AD
split-complementary
#942EAD #86AD2E #2EAD54
monochromatic
#41144C #6B217D #942EAD #B449CF #C87ADC

Accessibility & contrast

On white

6.45
#942EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942EAD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942EAD#FFFFFF#000000##FFFFFF
##942EAD1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3662AA
Tritanopia (blue-blind)
#94476B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942ead;
/* rgb */ color: rgb(148, 46, 173);
/* oklch */ color: oklch(50.9% 0.202 318.9);
Tailwind
colors: {
  custom: {
    50: '#b771c6',
    500: '#942ead',
    950: '#000000',
  },
}
SCSS
$custom: #942ead;
$custom-light: #b771c6;
$custom-dark: #000000;
JSON
{
  "hex": "#942ead",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 288.189,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.20211,
    "h": 318.9
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#942EAD
secondary
#83C473
accent
#E14765
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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