#942BA9#942BA9

#942BA9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.202 H 320.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#942BA9
RGBrgb(148, 43, 169)
HSLhsl(290, 59%, 42%)
HSVhsv(290, 75%, 66%)
CMYKcmyk(12.4%, 74.6%, 0%, 33.7%)
CIE-LABlab(39.39, 59.80, -46.00)
CIE-LCHlch(39.39, 75.45, 322.43°)
OKLaboklab(50.39% 0.1555 -0.1289)
OKLCHoklch(50.39% 0.202 320.3)
XYZxyz(20.2372, 10.8893, 38.5643)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BA9 #40A92B
analogous
#552BA9 #942BA9 #A92B7F
triadic
#942BA9 #A9942B #2BA994
tetradic
#942BA9 #A9552B #40A92B #2B7FA9
square
#942BA9 #A9552B #40A92B #2B7FA9
split-complementary
#942BA9 #7FA92B #2BA955
monochromatic
#3F1247 #691F78 #942BA9 #B842CF #CA73DB

Accessibility & contrast

On white

6.61
#942BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942BA9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BA9#FFFFFF#000000##FFFFFF
##942BA91.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3860A6
Tritanopia (blue-blind)
#954468
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942ba9;
/* rgb */ color: rgb(148, 43, 169);
/* oklch */ color: oklch(50.4% 0.202 320.3);
Tailwind
colors: {
  custom: {
    50: '#b76fc3',
    500: '#942ba9',
    950: '#000000',
  },
}
SCSS
$custom: #942ba9;
$custom-light: #b76fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#942ba9",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 290,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.20196,
    "h": 320.3
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#942BA9
secondary
#7BC36D
accent
#E3455F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #942BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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