#942EA3#942EA3

#942EA3 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.193 H 322.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#942EA3
RGBrgb(148, 46, 163)
HSLhsl(292, 56%, 41%)
HSVhsv(292, 72%, 64%)
CMYKcmyk(9.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(39.40, 57.59, -42.39)
CIE-LCHlch(39.40, 71.51, 323.64°)
OKLaboklab(50.28% 0.1529 -0.1184)
OKLCHoklch(50.28% 0.193 322.3)
XYZxyz(19.7999, 10.8953, 35.7033)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942EA3 #3DA32E
analogous
#592EA3 #942EA3 #A32E77
triadic
#942EA3 #A3942E #2EA394
tetradic
#942EA3 #A3592E #3DA32E #2E77A3
square
#942EA3 #A3592E #3DA32E #2E77A3
split-complementary
#942EA3 #77A32E #2EA359
monochromatic
#3D1344 #692173 #942EA3 #B944CA #CB74D8

Accessibility & contrast

On white

6.61
#942EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#942EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942EA3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942EA3#FFFFFF#000000##FFFFFF
##942EA31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#3E61A0
Tritanopia (blue-blind)
#964366
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942ea3;
/* rgb */ color: rgb(148, 46, 163);
/* oklch */ color: oklch(50.3% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#b771bf',
    500: '#942ea3',
    950: '#000000',
  },
}
SCSS
$custom: #942ea3;
$custom-light: #b771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#942ea3",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 292.308,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.1934,
    "h": 322.3
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#942EA3
secondary
#78BF6D
accent
#DF495C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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