#942196#942196

#942196 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.197 H 327.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#942196
RGBrgb(148, 33, 150)
HSLhsl(299, 64%, 36%)
HSVhsv(299, 78%, 59%)
CMYKcmyk(1.3%, 78%, 0%, 41.2%)
CIE-LABlab(37.09, 59.68, -38.22)
CIE-LCHlch(37.09, 70.87, 327.36°)
OKLaboklab(48.38% 0.1656 -0.1061)
OKLCHoklch(48.38% 0.197 327.3)
XYZxyz(18.2613, 9.5869, 29.7369)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942196 #239621
analogous
#592196 #942196 #96215D
triadic
#942196 #969421 #219694
tetradic
#942196 #965921 #239621 #215D96
square
#942196 #965921 #239621 #215D96
split-complementary
#942196 #5D9621 #219659
monochromatic
#310B32 #631664 #942196 #C52CC8 #D857DA

Accessibility & contrast

On white

7.20
#942196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#942196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942196
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942196#FFFFFF#000000##FFFFFF
##9421961.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#98355B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942196;
/* rgb */ color: rgb(148, 33, 150);
/* oklch */ color: oklch(48.4% 0.197 327.3);
Tailwind
colors: {
  custom: {
    50: '#b76bb5',
    500: '#942196',
    950: '#000000',
  },
}
SCSS
$custom: #942196;
$custom-light: #b76bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#942196",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 298.974,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.19667,
    "h": 327.3
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#942196
secondary
#57BE55
accent
#E74144
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942196

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

Preview Lab → · Contrast checker → · Palette generator →

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