#942CA5#942CA5

#942CA5 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.197 H 321.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#942CA5
RGBrgb(148, 44, 165)
HSLhsl(292, 58%, 41%)
HSVhsv(292, 73%, 65%)
CMYKcmyk(10.3%, 73.3%, 0%, 35.3%)
CIE-LABlab(39.27, 58.70, -43.81)
CIE-LCHlch(39.27, 73.25, 323.26°)
OKLaboklab(50.22% 0.1548 -0.1225)
OKLCHoklch(50.22% 0.197 321.6)
XYZxyz(19.9042, 10.8150, 36.6291)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CA5 #3DA52C
analogous
#572CA5 #942CA5 #A52C79
triadic
#942CA5 #A5942C #2CA594
tetradic
#942CA5 #A5572C #3DA52C #2C79A5
square
#942CA5 #A5572C #3DA52C #2C79A5
split-complementary
#942CA5 #79A52C #2CA557
monochromatic
#3D1244 #691F75 #942CA5 #B942CD #CB72D9

Accessibility & contrast

On white

6.64
#942CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#942CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CA5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CA5#FFFFFF#000000##FFFFFF
##942CA51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#954366
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #942ca5;
/* rgb */ color: rgb(148, 44, 165);
/* oklch */ color: oklch(50.2% 0.197 321.6);
Tailwind
colors: {
  custom: {
    50: '#b770c0',
    500: '#942ca5',
    950: '#000000',
  },
}
SCSS
$custom: #942ca5;
$custom-light: #b770c0;
$custom-dark: #000000;
JSON
{
  "hex": "#942ca5",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 291.57,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50218,
    "c": 0.19743,
    "h": 321.6
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#942CA5
secondary
#78C16C
accent
#E1475C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #942CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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