#942FA2#942FA2

#942FA2 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.191 H 322.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#942FA2
RGBrgb(148, 47, 162)
HSLhsl(293, 55%, 41%)
HSVhsv(293, 71%, 64%)
CMYKcmyk(8.6%, 71%, 0%, 36.5%)
CIE-LABlab(39.48, 57.03, -41.67)
CIE-LCHlch(39.48, 70.63, 323.84°)
OKLaboklab(50.31% 0.1519 -0.1163)
OKLCHoklch(50.31% 0.191 322.6)
XYZxyz(19.7502, 10.9387, 35.2465)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FA2 #3DA22F
analogous
#5A2FA2 #942FA2 #A22F76
triadic
#942FA2 #A2942F #2FA294
tetradic
#942FA2 #A25A2F #3DA22F #2F76A2
square
#942FA2 #A25A2F #3DA22F #2F76A2
split-complementary
#942FA2 #76A22F #2FA25A
monochromatic
#3D1343 #692173 #942FA2 #B945C9 #CB75D7

Accessibility & contrast

On white

6.59
#942FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942FA2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FA2#FFFFFF#000000##FFFFFF
##942FA21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A5
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#964365
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942fa2;
/* rgb */ color: rgb(148, 47, 162);
/* oklch */ color: oklch(50.3% 0.191 322.6);
Tailwind
colors: {
  custom: {
    50: '#b771be',
    500: '#942fa2',
    950: '#000000',
  },
}
SCSS
$custom: #942fa2;
$custom-light: #b771be;
$custom-dark: #000000;
JSON
{
  "hex": "#942fa2",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 292.696,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.19134,
    "h": 322.6
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#942FA2
secondary
#78BF6E
accent
#DE495C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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