#942FC5#942FC5

#942FC5 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.222 H 311.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#942FC5
RGBrgb(148, 47, 197)
HSLhsl(280, 61%, 48%)
HSVhsv(280, 76%, 77%)
CMYKcmyk(24.9%, 76.1%, 0%, 22.7%)
CIE-LABlab(41.78, 63.88, -58.65)
CIE-LCHlch(41.78, 86.72, 317.44°)
OKLaboklab(52.68% 0.148 -0.1661)
OKLCHoklch(52.68% 0.222 311.7)
XYZxyz(23.3054, 12.3608, 53.9707)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FC5 #60C52F
analogous
#492FC5 #942FC5 #C52FAB
triadic
#942FC5 #C5942F #2FC594
tetradic
#942FC5 #C5492F #60C52F #2FABC5
square
#942FC5 #C5492F #60C52F #2FABC5
split-complementary
#942FC5 #ABC52F #2FC549
monochromatic
#4A1762 #6F2394 #942FC5 #AE5AD8 #C78BE3

Accessibility & contrast

On white

6.05
#942FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#942FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942FC5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FC5#FFFFFF#000000##FFFFFF
##942FC51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#1264C2
Tritanopia (blue-blind)
#8E5379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #942fc5;
/* rgb */ color: rgb(148, 47, 197);
/* oklch */ color: oklch(52.7% 0.222 311.7);
Tailwind
colors: {
  custom: {
    50: '#b872d7',
    500: '#942fc5',
    950: '#000000',
  },
}
SCSS
$custom: #942fc5;
$custom-light: #b872d7;
$custom-dark: #000000;
JSON
{
  "hex": "#942fc5",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 280.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52681,
    "c": 0.22245,
    "h": 311.7
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#942FC5
secondary
#9BCD82
accent
#E54378
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #942FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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