#942297#942297

#942297 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.196 H 326.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#942297
RGBrgb(148, 34, 151)
HSLhsl(298, 63%, 36%)
HSVhsv(298, 77%, 59%)
CMYKcmyk(2%, 77.5%, 0%, 40.8%)
CIE-LABlab(37.25, 59.55, -38.57)
CIE-LCHlch(37.25, 70.95, 327.06°)
OKLaboklab(48.51% 0.1647 -0.1072)
OKLCHoklch(48.51% 0.196 326.9)
XYZxyz(18.3704, 9.6756, 30.1722)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942297 #259722
analogous
#5A2297 #942297 #972260
triadic
#942297 #979422 #229794
tetradic
#942297 #975A22 #259722 #226097
square
#942297 #975A22 #259722 #226097
split-complementary
#942297 #609722 #22975A
monochromatic
#320C33 #631765 #942297 #C52DC9 #D65ADA

Accessibility & contrast

On white

7.16
#942297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942297
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942297#FFFFFF#000000##FFFFFF
##9422971.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#405D94
Tritanopia (blue-blind)
#98365C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942297;
/* rgb */ color: rgb(148, 34, 151);
/* oklch */ color: oklch(48.5% 0.196 326.9);
Tailwind
colors: {
  custom: {
    50: '#b76bb6',
    500: '#942297',
    950: '#000000',
  },
}
SCSS
$custom: #942297;
$custom-light: #b76bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#942297",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 298.462,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48511,
    "c": 0.19649,
    "h": 326.9
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#942297
secondary
#59BE57
accent
#E64246
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942297

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

Preview Lab → · Contrast checker → · Palette generator →

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