#942CC9#942CC9

#942CC9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.7% C 0.229 H 310.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#942CC9
RGBrgb(148, 44, 201)
HSLhsl(280, 64%, 48%)
HSVhsv(280, 78%, 79%)
CMYKcmyk(26.4%, 78.1%, 0%, 21.2%)
CIE-LABlab(41.71, 65.74, -61.10)
CIE-LCHlch(41.71, 89.75, 317.10°)
OKLaboklab(52.72% 0.1497 -0.1732)
OKLCHoklch(52.72% 0.229 310.8)
XYZxyz(23.6540, 12.3149, 56.3780)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CC9 #61C92C
analogous
#452CC9 #942CC9 #C92CB0
triadic
#942CC9 #C9942C #2CC994
tetradic
#942CC9 #C9452C #61C92C #2CB0C9
square
#942CC9 #C9452C #61C92C #2CB0C9
split-complementary
#942CC9 #B0C92C #2CC945
monochromatic
#4A1665 #6F2197 #942CC9 #AE58DA #C78AE5

Accessibility & contrast

On white

6.06
#942CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#942CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CC9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CC9#FFFFFF#000000##FFFFFF
##942CC91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#8D537A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #942cc9;
/* rgb */ color: rgb(148, 44, 201);
/* oklch */ color: oklch(52.7% 0.229 310.8);
Tailwind
colors: {
  custom: {
    50: '#b971da',
    500: '#942cc9',
    950: '#000000',
  },
}
SCSS
$custom: #942cc9;
$custom-light: #b971da;
$custom-dark: #000000;
JSON
{
  "hex": "#942cc9",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 279.745,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.22897,
    "h": 310.8
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#942CC9
secondary
#9CCF82
accent
#E74179
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #942CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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