#942FA1#942FA1

#942FA1 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.190 H 322.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#942FA1
RGBrgb(148, 47, 161)
HSLhsl(293, 55%, 41%)
HSVhsv(293, 71%, 63%)
CMYKcmyk(8.1%, 70.8%, 0%, 36.9%)
CIE-LABlab(39.42, 56.84, -41.17)
CIE-LCHlch(39.42, 70.19, 324.08°)
OKLaboklab(50.25% 0.152 -0.1148)
OKLCHoklch(50.25% 0.19 322.9)
XYZxyz(19.6617, 10.9033, 34.7802)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FA1 #3CA12F
analogous
#5B2FA1 #942FA1 #A12F75
triadic
#942FA1 #A1942F #2FA194
tetradic
#942FA1 #A15B2F #3CA12F #2F75A1
square
#942FA1 #A15B2F #3CA12F #2F75A1
split-complementary
#942FA1 #75A12F #2FA15B
monochromatic
#3D1342 #682172 #942FA1 #BA45C9 #CB74D6

Accessibility & contrast

On white

6.60
#942FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#942FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942FA1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FA1#FFFFFF#000000##FFFFFF
##942FA11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A4
Deuteranopia (green-blind)
#40619E
Tritanopia (blue-blind)
#964365
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942fa1;
/* rgb */ color: rgb(148, 47, 161);
/* oklch */ color: oklch(50.2% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#b771bd',
    500: '#942fa1',
    950: '#000000',
  },
}
SCSS
$custom: #942fa1;
$custom-light: #b771bd;
$custom-dark: #000000;
JSON
{
  "hex": "#942fa1",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 293.158,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.19048,
    "h": 322.9
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#942FA1
secondary
#77BE6E
accent
#DE4A5B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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