#942CCD#942CCD

#942CCD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.0% C 0.233 H 309.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#942CCD
RGBrgb(148, 44, 205)
HSLhsl(279, 65%, 49%)
HSVhsv(279, 79%, 80%)
CMYKcmyk(27.8%, 78.5%, 0%, 19.6%)
CIE-LABlab(42.01, 66.56, -62.93)
CIE-LCHlch(42.01, 91.61, 316.61°)
OKLaboklab(53.02% 0.1489 -0.1786)
OKLCHoklch(53.02% 0.233 309.8)
XYZxyz(24.1307, 12.5056, 58.8884)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CCD #65CD2C
analogous
#442CCD #942CCD #CD2CB6
triadic
#942CCD #CD942C #2CCD94
tetradic
#942CCD #CD442C #65CD2C #2CB6CD
square
#942CCD #CD442C #65CD2C #2CB6CD
split-complementary
#942CCD #B6CD2C #2CCD44
monochromatic
#4B1668 #70219B #942CCD #AE5BDC #C78DE7

Accessibility & contrast

On white

6.00
#942CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#942CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CCD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CCD#FFFFFF#000000##FFFFFF
##942CCD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#8C557D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #942ccd;
/* rgb */ color: rgb(148, 44, 205);
/* oklch */ color: oklch(53.0% 0.233 309.8);
Tailwind
colors: {
  custom: {
    50: '#b972dd',
    500: '#942ccd',
    950: '#000000',
  },
}
SCSS
$custom: #942ccd;
$custom-light: #b972dd;
$custom-dark: #000000;
JSON
{
  "hex": "#942ccd",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 278.758,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.23253,
    "h": 309.8
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#942CCD
secondary
#9FD184
accent
#E8407B
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #942CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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