#942FC0#942FC0

#942FC0 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.218 H 313.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#942FC0
RGBrgb(148, 47, 192)
HSLhsl(282, 61%, 47%)
HSVhsv(282, 76%, 75%)
CMYKcmyk(22.9%, 75.5%, 0%, 24.7%)
CIE-LABlab(41.43, 62.86, -56.31)
CIE-LCHlch(41.43, 84.39, 318.15°)
OKLaboklab(52.32% 0.1489 -0.1592)
OKLCHoklch(52.32% 0.218 313.1)
XYZxyz(22.7420, 12.1354, 51.0033)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942FC0 #5BC02F
analogous
#4C2FC0 #942FC0 #C02FA4
triadic
#942FC0 #C0942F #2FC094
tetradic
#942FC0 #C04C2F #5BC02F #2FA4C0
square
#942FC0 #C04C2F #5BC02F #2FA4C0
split-complementary
#942FC0 #A4C02F #2FC04C
monochromatic
#48175E #6E238F #942FC0 #AF56D6 #C688E2

Accessibility & contrast

On white

6.13
#942FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#942FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942FC0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942FC0#FFFFFF#000000##FFFFFF
##942FC01.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#8F5076
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #942fc0;
/* rgb */ color: rgb(148, 47, 192);
/* oklch */ color: oklch(52.3% 0.218 313.1);
Tailwind
colors: {
  custom: {
    50: '#b872d4',
    500: '#942fc0',
    950: '#000000',
  },
}
SCSS
$custom: #942fc0;
$custom-light: #b872d4;
$custom-dark: #000000;
JSON
{
  "hex": "#942fc0",
  "rgb": {
    "r": 148,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 281.793,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.21795,
    "h": 313.1
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#942FC0
secondary
#96CB7F
accent
#E44474
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #942FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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