#942FA3#942FA3

#942FA3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.192 H 322.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#942FA3
RGBrgb(148, 47, 163)
HSLhsl(292, 55%, 41%)
HSVhsv(292, 71%, 64%)
CMYKcmyk(9.2%, 71.2%, 0%, 36.1%)
CIE-LABlab(39.54, 57.21, -42.18)
CIE-LCHlch(39.54, 71.08, 323.60°)
OKLaboklab(50.37% 0.1519 -0.1178)
OKLCHoklch(50.37% 0.192 322.2)
XYZxyz(19.8394, 10.9744, 35.7165)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FA3 #3EA32F
analogous
#5A2FA3 #942FA3 #A32F78
triadic
#942FA3 #A3942F #2FA394
tetradic
#942FA3 #A35A2F #3EA32F #2F78A3
square
#942FA3 #A35A2F #3EA32F #2F78A3
split-complementary
#942FA3 #78A32F #2FA35A
monochromatic
#3E1444 #692173 #942FA3 #B846CA #CB75D7

Accessibility & contrast

On white

6.57
#942FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#942FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942FA3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FA3#FFFFFF#000000##FFFFFF
##942FA31.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#964466
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942fa3;
/* rgb */ color: rgb(148, 47, 163);
/* oklch */ color: oklch(50.4% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#b771bf',
    500: '#942fa3',
    950: '#000000',
  },
}
SCSS
$custom: #942fa3;
$custom-light: #b771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#942fa3",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 292.241,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.19221,
    "h": 322.2
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#942FA3
secondary
#79BF6F
accent
#DF495D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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