#942397#942397

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

Color values

HEX#942397
RGBrgb(148, 35, 151)
HSLhsl(298, 62%, 36%)
HSVhsv(298, 77%, 59%)
CMYKcmyk(2%, 76.8%, 0%, 40.8%)
CIE-LABlab(37.36, 59.24, -38.40)
CIE-LCHlch(37.36, 70.60, 327.05°)
OKLaboklab(48.59% 0.1638 -0.1067)
OKLCHoklch(48.59% 0.196 326.9)
XYZxyz(18.3994, 9.7336, 30.1818)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942397 #269723
analogous
#5A2397 #942397 #972360
triadic
#942397 #979423 #239794
tetradic
#942397 #975A23 #269723 #236097
square
#942397 #975A23 #269723 #236097
split-complementary
#942397 #609723 #23975A
monochromatic
#330C34 #631765 #942397 #C52FC9 #D65BD9

Accessibility & contrast

On white

7.13
#942397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#942397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942397
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942397#FFFFFF#000000##FFFFFF
##9423971.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942397;
/* rgb */ color: rgb(148, 35, 151);
/* oklch */ color: oklch(48.6% 0.196 326.9);
Tailwind
colors: {
  custom: {
    50: '#b76bb6',
    500: '#942397',
    950: '#000000',
  },
}
SCSS
$custom: #942397;
$custom-light: #b76bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#942397",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 298.448,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.19551,
    "h": 326.9
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#942397
secondary
#5BBE58
accent
#E54247
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942397

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

Preview Lab → · Contrast checker → · Palette generator →

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