#942E8E#942E8E

#942E8E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.176 H 330.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#942E8E
RGBrgb(148, 46, 142)
HSLhsl(304, 53%, 38%)
HSVhsv(304, 69%, 58%)
CMYKcmyk(0%, 68.9%, 4.1%, 42%)
CIE-LABlab(38.21, 53.87, -31.57)
CIE-LCHlch(38.21, 62.44, 329.62°)
OKLaboklab(49.03% 0.1528 -0.0869)
OKLCHoklch(49.03% 0.176 330.4)
XYZxyz(18.0721, 10.2042, 26.6037)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E8E #2E9434
analogous
#672E94 #942E8E #942E5B
triadic
#942E8E #8E942E #2E8E94
tetradic
#942E8E #94672E #2E9434 #2E5B94
square
#942E8E #94672E #2E9434 #2E5B94
split-complementary
#942E8E #5B942E #2E9467
monochromatic
#371134 #651F61 #942E8E #C33DBB #D16BCB

Accessibility & contrast

On white

6.91
#942E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#942E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E8E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E8E#FFFFFF#000000##FFFFFF
##942E8E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#9A3A5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #942e8e;
/* rgb */ color: rgb(148, 46, 142);
/* oklch */ color: oklch(49.0% 0.176 330.4);
Tailwind
colors: {
  custom: {
    50: '#b770af',
    500: '#942e8e',
    950: '#000000',
  },
}
SCSS
$custom: #942e8e;
$custom-light: #b770af;
$custom-dark: #000000;
JSON
{
  "hex": "#942e8e",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 303.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.17579,
    "h": 330.4
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#942E8E
secondary
#66B86A
accent
#DC544C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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