#942E96#942E96

#942E96 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.182 H 327.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#942E96
RGBrgb(148, 46, 150)
HSLhsl(299, 53%, 38%)
HSVhsv(299, 69%, 59%)
CMYKcmyk(1.3%, 69.3%, 0%, 41.2%)
CIE-LABlab(38.64, 55.24, -35.76)
CIE-LCHlch(38.64, 65.81, 327.09°)
OKLaboklab(49.49% 0.1531 -0.0991)
OKLCHoklch(49.49% 0.182 327.1)
XYZxyz(18.6945, 10.4532, 29.8813)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E96 #30962E
analogous
#602E96 #942E96 #962E64
triadic
#942E96 #96942E #2E9694
tetradic
#942E96 #96602E #30962E #2E6496
square
#942E96 #96602E #30962E #2E6496
split-complementary
#942E96 #64962E #2E9660
monochromatic
#381138 #662067 #942E96 #C13EC4 #D06CD2

Accessibility & contrast

On white

6.80
#942E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#942E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E96
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E96#FFFFFF#000000##FFFFFF
##942E961.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#983D5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #942e96;
/* rgb */ color: rgb(148, 46, 150);
/* oklch */ color: oklch(49.5% 0.182 327.1);
Tailwind
colors: {
  custom: {
    50: '#b770b5',
    500: '#942e96',
    950: '#000000',
  },
}
SCSS
$custom: #942e96;
$custom-light: #b770b5;
$custom-dark: #000000;
JSON
{
  "hex": "#942e96",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 298.846,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.18236,
    "h": 327.1
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#942E96
secondary
#68B967
accent
#DC4B4E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E96

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

Preview Lab → · Contrast checker → · Palette generator →

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