#942E9D#942E9D

#942E9D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.188 H 324.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#942E9D
RGBrgb(148, 46, 157)
HSLhsl(295, 55%, 40%)
HSVhsv(295, 71%, 62%)
CMYKcmyk(5.7%, 70.7%, 0%, 38.4%)
CIE-LABlab(39.05, 56.49, -39.35)
CIE-LCHlch(39.05, 68.85, 325.14°)
OKLaboklab(49.91% 0.1531 -0.1095)
OKLCHoklch(49.91% 0.188 324.4)
XYZxyz(19.2750, 10.6854, 32.9390)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E9D #379D2E
analogous
#5C2E9D #942E9D #9D2E6F
triadic
#942E9D #9D942E #2E9D94
tetradic
#942E9D #9D5C2E #379D2E #2E6F9D
square
#942E9D #9D5C2E #379D2E #2E6F9D
split-complementary
#942E9D #6F9D2E #2E9D5C
monochromatic
#3B123E #67206E #942E9D #BC41C7 #CD70D5

Accessibility & contrast

On white

6.69
#942E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942E9D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E9D#FFFFFF#000000##FFFFFF
##942E9D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F54A0
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#974062
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942e9d;
/* rgb */ color: rgb(148, 46, 157);
/* oklch */ color: oklch(49.9% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#b770ba',
    500: '#942e9d',
    950: '#000000',
  },
}
SCSS
$custom: #942e9d;
$custom-light: #b770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#942e9d",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 295.135,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.18826,
    "h": 324.4
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#942E9D
secondary
#71BD6A
accent
#DE4A56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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