#942DA9#942DA9

#942DA9 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.200 H 320.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#942DA9
RGBrgb(148, 45, 169)
HSLhsl(290, 58%, 42%)
HSVhsv(290, 73%, 66%)
CMYKcmyk(12.4%, 73.4%, 0%, 33.7%)
CIE-LABlab(39.64, 59.08, -45.60)
CIE-LCHlch(39.64, 74.63, 322.34°)
OKLaboklab(50.57% 0.1536 -0.1277)
OKLCHoklch(50.57% 0.2 320.2)
XYZxyz(20.3117, 11.0383, 38.5891)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942DA9 #42A92D
analogous
#562DA9 #942DA9 #A92D80
triadic
#942DA9 #A9942D #2DA994
tetradic
#942DA9 #A9562D #42A92D #2D80A9
square
#942DA9 #A9562D #42A92D #2D80A9
split-complementary
#942DA9 #80A92D #2DA956
monochromatic
#3F1348 #6A2079 #942DA9 #B746CE #C976DA

Accessibility & contrast

On white

6.55
#942DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#942DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942DA9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942DA9#FFFFFF#000000##FFFFFF
##942DA91.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942da9;
/* rgb */ color: rgb(148, 45, 169);
/* oklch */ color: oklch(50.6% 0.200 320.2);
Tailwind
colors: {
  custom: {
    50: '#b770c3',
    500: '#942da9',
    950: '#000000',
  },
}
SCSS
$custom: #942da9;
$custom-light: #b770c3;
$custom-dark: #000000;
JSON
{
  "hex": "#942da9",
  "rgb": {
    "r": 148,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 289.839,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.19974,
    "h": 320.2
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#942DA9
secondary
#7EC26F
accent
#E14761
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #942DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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