#942199#942199

#942199 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 326.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#942199
RGBrgb(148, 33, 153)
HSLhsl(298, 65%, 36%)
HSVhsv(298, 78%, 60%)
CMYKcmyk(3.3%, 78.4%, 0%, 40%)
CIE-LABlab(37.27, 60.18, -39.76)
CIE-LCHlch(37.27, 72.13, 326.55°)
OKLaboklab(48.56% 0.1654 -0.1106)
OKLCHoklch(48.56% 0.199 326.2)
XYZxyz(18.5060, 9.6848, 31.0255)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942199 #269921
analogous
#582199 #942199 #992162
triadic
#942199 #999421 #219994
tetradic
#942199 #995821 #269921 #216299
square
#942199 #995821 #269921 #216299
split-complementary
#942199 #629921 #219958
monochromatic
#330B34 #631667 #942199 #C52CCB #D659DB

Accessibility & contrast

On white

7.15
#942199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942199
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942199#FFFFFF#000000##FFFFFF
##9421991.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#98375D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942199;
/* rgb */ color: rgb(148, 33, 153);
/* oklch */ color: oklch(48.6% 0.199 326.2);
Tailwind
colors: {
  custom: {
    50: '#b76bb7',
    500: '#942199',
    950: '#000000',
  },
}
SCSS
$custom: #942199;
$custom-light: #b76bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#942199",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 297.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.19901,
    "h": 326.2
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#942199
secondary
#5BBF56
accent
#E84047
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942199

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

Preview Lab → · Contrast checker → · Palette generator →

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