#942296#942296

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

Color values

HEX#942296
RGBrgb(148, 34, 150)
HSLhsl(299, 63%, 36%)
HSVhsv(299, 77%, 59%)
CMYKcmyk(1.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(37.19, 59.38, -38.06)
CIE-LCHlch(37.19, 70.53, 327.34°)
OKLaboklab(48.45% 0.1647 -0.1057)
OKLCHoklch(48.45% 0.196 327.3)
XYZxyz(18.2895, 9.6433, 29.7463)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942296 #249622
analogous
#5A2296 #942296 #96225E
triadic
#942296 #969422 #229694
tetradic
#942296 #965A22 #249622 #225E96
square
#942296 #965A22 #249622 #225E96
split-complementary
#942296 #5E9622 #22965A
monochromatic
#320B32 #631764 #942296 #C52DC8 #D759D9

Accessibility & contrast

On white

7.17
#942296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#942296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942296
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942296#FFFFFF#000000##FFFFFF
##9422961.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942296;
/* rgb */ color: rgb(148, 34, 150);
/* oklch */ color: oklch(48.4% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#b76bb5',
    500: '#942296',
    950: '#000000',
  },
}
SCSS
$custom: #942296;
$custom-light: #b76bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#942296",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 298.966,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.19571,
    "h": 327.3
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#942296
secondary
#58BE56
accent
#E64245
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942296

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

Preview Lab → · Contrast checker → · Palette generator →

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