#942494#942494

#942494 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.192 H 328.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#942494
RGBrgb(148, 36, 148)
HSLhsl(300, 61%, 36%)
HSVhsv(300, 76%, 58%)
CMYKcmyk(0%, 75.7%, 0%, 42%)
CIE-LABlab(37.29, 58.42, -36.68)
CIE-LCHlch(37.29, 68.98, 327.87°)
OKLaboklab(48.48% 0.163 -0.1017)
OKLCHoklch(48.48% 0.192 328)
XYZxyz(18.1887, 9.6971, 28.9250)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942494 #249424
analogous
#5C2494 #942494 #94245C
triadic
#942494 #949424 #249494
tetradic
#942494 #945C24 #249424 #245C94
square
#942494 #945C24 #249424 #245C94
split-complementary
#942494 #5C9424 #24945C
monochromatic
#320C32 #631863 #942494 #C530C5 #D75BD7

Accessibility & contrast

On white

7.14
#942494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#942494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942494
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942494#FFFFFF#000000##FFFFFF
##9424941.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#435D91
Tritanopia (blue-blind)
#99365B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942494;
/* rgb */ color: rgb(148, 36, 148);
/* oklch */ color: oklch(48.5% 0.192 328.0);
Tailwind
colors: {
  custom: {
    50: '#b76cb4',
    500: '#942494',
    950: '#000000',
  },
}
SCSS
$custom: #942494;
$custom-light: #b76cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#942494",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 300,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.19214,
    "h": 328
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#942494
secondary
#58BC58
accent
#E44444
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942494

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

Preview Lab → · Contrast checker → · Palette generator →

#942494 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva