#942DA0#942DA0

#942DA0 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.192 H 323.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#942DA0
RGBrgb(148, 45, 160)
HSLhsl(294, 56%, 40%)
HSVhsv(294, 72%, 63%)
CMYKcmyk(7.5%, 71.9%, 0%, 37.3%)
CIE-LABlab(39.09, 57.41, -41.09)
CIE-LCHlch(39.09, 70.60, 324.41°)
OKLaboklab(49.99% 0.1541 -0.1146)
OKLCHoklch(49.99% 0.192 323.4)
XYZxyz(19.4957, 10.7119, 34.2916)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942DA0 #39A02D
analogous
#5A2DA0 #942DA0 #A02D73
triadic
#942DA0 #A0942D #2DA094
tetradic
#942DA0 #A05A2D #39A02D #2D73A0
square
#942DA0 #A05A2D #39A02D #2D73A0
split-complementary
#942DA0 #73A02D #2DA05A
monochromatic
#3C1240 #682070 #942DA0 #BB41C9 #CC70D7

Accessibility & contrast

On white

6.68
#942DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#942DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942DA0
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942DA0#FFFFFF#000000##FFFFFF
##942DA01.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#40609D
Tritanopia (blue-blind)
#964164
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942da0;
/* rgb */ color: rgb(148, 45, 160);
/* oklch */ color: oklch(50.0% 0.192 323.4);
Tailwind
colors: {
  custom: {
    50: '#b770bd',
    500: '#942da0',
    950: '#000000',
  },
}
SCSS
$custom: #942da0;
$custom-light: #b770bd;
$custom-dark: #000000;
JSON
{
  "hex": "#942da0",
  "rgb": {
    "r": 148,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 293.739,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.19201,
    "h": 323.4
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#942DA0
secondary
#73BE6B
accent
#DF4858
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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