#942CC0#942CC0

#942CC0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.221 H 313.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#942CC0
RGBrgb(148, 44, 192)
HSLhsl(282, 63%, 46%)
HSVhsv(282, 77%, 75%)
CMYKcmyk(22.9%, 77.1%, 0%, 24.7%)
CIE-LABlab(41.06, 63.92, -56.90)
CIE-LCHlch(41.06, 85.58, 318.32°)
OKLaboklab(52.06% 0.1515 -0.1609)
OKLCHoklch(52.06% 0.221 313.3)
XYZxyz(22.6262, 11.9038, 50.9647)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CC0 #58C02C
analogous
#4A2CC0 #942CC0 #C02CA2
triadic
#942CC0 #C0942C #2CC094
tetradic
#942CC0 #C04A2C #58C02C #2CA2C0
square
#942CC0 #C04A2C #58C02C #2CA2C0
split-complementary
#942CC0 #A2C02C #2CC04A
monochromatic
#47155C #6E218E #942CC0 #B052D7 #C684E3

Accessibility & contrast

On white

6.21
#942CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#942CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CC0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CC0#FFFFFF#000000##FFFFFF
##942CC01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#1A63BD
Tritanopia (blue-blind)
#8F4F75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #942cc0;
/* rgb */ color: rgb(148, 44, 192);
/* oklch */ color: oklch(52.1% 0.221 313.3);
Tailwind
colors: {
  custom: {
    50: '#b871d4',
    500: '#942cc0',
    950: '#000000',
  },
}
SCSS
$custom: #942cc0;
$custom-light: #b871d4;
$custom-dark: #000000;
JSON
{
  "hex": "#942cc0",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 282.162,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.22099,
    "h": 313.3
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#942CC0
secondary
#94CC7C
accent
#E64273
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #942CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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