#942E8F#942E8F

#942E8F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.177 H 329.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#942E8F
RGBrgb(148, 46, 143)
HSLhsl(303, 53%, 38%)
HSVhsv(303, 69%, 58%)
CMYKcmyk(0%, 68.9%, 3.4%, 42%)
CIE-LABlab(38.26, 54.04, -32.10)
CIE-LCHlch(38.26, 62.85, 329.29°)
OKLaboklab(49.09% 0.1528 -0.0885)
OKLCHoklch(49.09% 0.177 329.9)
XYZxyz(18.1476, 10.2344, 27.0009)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E8F #2E9433
analogous
#662E94 #942E8F #942E5C
triadic
#942E8F #8F942E #2E8F94
tetradic
#942E8F #94662E #2E9433 #2E5C94
square
#942E8F #94662E #2E9433 #2E5C94
split-complementary
#942E8F #5C942E #2E9466
monochromatic
#371135 #651F62 #942E8F #C33DBC #D16BCC

Accessibility & contrast

On white

6.89
#942E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#942E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E8F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E8F#FFFFFF#000000##FFFFFF
##942E8F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#993A5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #942e8f;
/* rgb */ color: rgb(148, 46, 143);
/* oklch */ color: oklch(49.1% 0.177 329.9);
Tailwind
colors: {
  custom: {
    50: '#b770b0',
    500: '#942e8f',
    950: '#000000',
  },
}
SCSS
$custom: #942e8f;
$custom-light: #b770b0;
$custom-dark: #000000;
JSON
{
  "hex": "#942e8f",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 302.941,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.1766,
    "h": 329.9
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#942E8F
secondary
#66B86A
accent
#DC534C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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