#942399#942399

#942399 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 326.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#942399
RGBrgb(148, 35, 153)
HSLhsl(297, 63%, 37%)
HSVhsv(297, 77%, 60%)
CMYKcmyk(3.3%, 77.1%, 0%, 40%)
CIE-LABlab(37.48, 59.58, -39.43)
CIE-LCHlch(37.48, 71.45, 326.50°)
OKLaboklab(48.71% 0.1638 -0.1097)
OKLCHoklch(48.71% 0.197 326.2)
XYZxyz(18.5632, 9.7992, 31.0445)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942399 #289923
analogous
#592399 #942399 #992363
triadic
#942399 #999423 #239994
tetradic
#942399 #995923 #289923 #236399
square
#942399 #995923 #289923 #236399
split-complementary
#942399 #639923 #239959
monochromatic
#340C35 #641867 #942399 #C42ECB #D55DDA

Accessibility & contrast

On white

7.10
#942399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#942399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942399
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942399#FFFFFF#000000##FFFFFF
##9423991.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#98385D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942399;
/* rgb */ color: rgb(148, 35, 153);
/* oklch */ color: oklch(48.7% 0.197 326.2);
Tailwind
colors: {
  custom: {
    50: '#b76cb7',
    500: '#942399',
    950: '#000000',
  },
}
SCSS
$custom: #942399;
$custom-light: #b76cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#942399",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 297.458,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.19708,
    "h": 326.2
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#942399
secondary
#5EBE59
accent
#E64249
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942399

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

Preview Lab → · Contrast checker → · Palette generator →

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