#942FAA#942FAA

#942FAA is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.198 H 319.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#942FAA
RGBrgb(148, 47, 170)
HSLhsl(289, 57%, 43%)
HSVhsv(289, 72%, 67%)
CMYKcmyk(12.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(39.97, 58.53, -45.67)
CIE-LCHlch(39.97, 74.24, 322.03°)
OKLaboklab(50.82% 0.1515 -0.128)
OKLCHoklch(50.82% 0.198 319.8)
XYZxyz(20.4840, 11.2322, 39.1115)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FAA #45AA2F
analogous
#562FAA #942FAA #AA2F83
triadic
#942FAA #AA942F #2FAA94
tetradic
#942FAA #AA562F #45AA2F #2F83AA
square
#942FAA #AA562F #45AA2F #2F83AA
split-complementary
#942FAA #83AA2F #2FAA56
monochromatic
#41144A #6A227A #942FAA #B549CD #C979DA

Accessibility & contrast

On white

6.47
#942FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#942FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942FAA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FAA#FFFFFF#000000##FFFFFF
##942FAA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3962A7
Tritanopia (blue-blind)
#94476A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942faa;
/* rgb */ color: rgb(148, 47, 170);
/* oklch */ color: oklch(50.8% 0.198 319.8);
Tailwind
colors: {
  custom: {
    50: '#b771c4',
    500: '#942faa',
    950: '#000000',
  },
}
SCSS
$custom: #942faa;
$custom-light: #b771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#942faa",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 289.268,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.19833,
    "h": 319.8
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#942FAA
secondary
#81C272
accent
#E04863
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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