#942EA0#942EA0

#942EA0 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.191 H 323.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#942EA0
RGBrgb(148, 46, 160)
HSLhsl(294, 55%, 40%)
HSVhsv(294, 71%, 63%)
CMYKcmyk(7.5%, 71.2%, 0%, 37.3%)
CIE-LABlab(39.22, 57.04, -40.88)
CIE-LCHlch(39.22, 70.17, 324.37°)
OKLaboklab(50.09% 0.1531 -0.114)
OKLCHoklch(50.09% 0.191 323.3)
XYZxyz(19.5343, 10.7891, 34.3045)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942EA0 #3AA02E
analogous
#5B2EA0 #942EA0 #A02E73
triadic
#942EA0 #A0942E #2EA094
tetradic
#942EA0 #A05B2E #3AA02E #2E73A0
square
#942EA0 #A05B2E #3AA02E #2E73A0
split-complementary
#942EA0 #73A02E #2EA05B
monochromatic
#3C1341 #682070 #942EA0 #BB42C9 #CC72D6

Accessibility & contrast

On white

6.65
#942EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#942EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942EA0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942EA0#FFFFFF#000000##FFFFFF
##942EA01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0655A3
Deuteranopia (green-blind)
#41609D
Tritanopia (blue-blind)
#964264
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942ea0;
/* rgb */ color: rgb(148, 46, 160);
/* oklch */ color: oklch(50.1% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#b770bd',
    500: '#942ea0',
    950: '#000000',
  },
}
SCSS
$custom: #942ea0;
$custom-light: #b770bd;
$custom-dark: #000000;
JSON
{
  "hex": "#942ea0",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 293.684,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.19082,
    "h": 323.3
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#942EA0
secondary
#74BE6C
accent
#DF4959
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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