#942096#942096

#942096 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.198 H 327.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#942096
RGBrgb(148, 32, 150)
HSLhsl(299, 65%, 36%)
HSVhsv(299, 79%, 59%)
CMYKcmyk(1.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(36.99, 59.97, -38.39)
CIE-LCHlch(36.99, 71.20, 327.38°)
OKLaboklab(48.3% 0.1664 -0.1066)
OKLCHoklch(48.3% 0.198 327.4)
XYZxyz(18.2340, 9.5323, 29.7278)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942096 #229620
analogous
#592096 #942096 #96205D
triadic
#942096 #969420 #209694
tetradic
#942096 #965920 #229620 #205D96
square
#942096 #965920 #229620 #205D96
split-complementary
#942096 #5D9620 #209659
monochromatic
#300A31 #621564 #942096 #C62BC8 #D956DB

Accessibility & contrast

On white

7.23
#942096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#942096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942096
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942096#FFFFFF#000000##FFFFFF
##9420961.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942096;
/* rgb */ color: rgb(148, 32, 150);
/* oklch */ color: oklch(48.3% 0.198 327.4);
Tailwind
colors: {
  custom: {
    50: '#b76ab5',
    500: '#942096',
    950: '#000000',
  },
}
SCSS
$custom: #942096;
$custom-light: #b76ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#942096",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 298.983,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.19761,
    "h": 327.4
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#942096
secondary
#55BE53
accent
#E84043
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942096

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

Preview Lab → · Contrast checker → · Palette generator →

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