#942E9E#942E9E

#942E9E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.189 H 324.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#942E9E
RGBrgb(148, 46, 158)
HSLhsl(295, 55%, 40%)
HSVhsv(295, 71%, 62%)
CMYKcmyk(6.3%, 70.9%, 0%, 38%)
CIE-LABlab(39.10, 56.67, -39.86)
CIE-LCHlch(39.10, 69.29, 324.88°)
OKLaboklab(49.97% 0.1531 -0.111)
OKLCHoklch(49.97% 0.189 324.1)
XYZxyz(19.3608, 10.7197, 33.3905)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E9E #389E2E
analogous
#5C2E9E #942E9E #9E2E70
triadic
#942E9E #9E942E #2E9E94
tetradic
#942E9E #9E5C2E #389E2E #2E709E
square
#942E9E #9E5C2E #389E2E #2E709E
split-complementary
#942E9E #709E2E #2E9E5C
monochromatic
#3B123F #68206F #942E9E #BC41C8 #CD71D6

Accessibility & contrast

On white

6.68
#942E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#942E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E9E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E9E#FFFFFF#000000##FFFFFF
##942E9E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#974163
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942e9e;
/* rgb */ color: rgb(148, 46, 158);
/* oklch */ color: oklch(50.0% 0.189 324.1);
Tailwind
colors: {
  custom: {
    50: '#b770bb',
    500: '#942e9e',
    950: '#000000',
  },
}
SCSS
$custom: #942e9e;
$custom-light: #b770bb;
$custom-dark: #000000;
JSON
{
  "hex": "#942e9e",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 294.643,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.18911,
    "h": 324.1
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#942E9E
secondary
#72BD6B
accent
#DE4A57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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