#942097#942097

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

Color values

HEX#942097
RGBrgb(148, 32, 151)
HSLhsl(298, 65%, 36%)
HSVhsv(298, 79%, 59%)
CMYKcmyk(2%, 78.8%, 0%, 40.8%)
CIE-LABlab(37.05, 60.14, -38.90)
CIE-LCHlch(37.05, 71.62, 327.10°)
OKLaboklab(48.37% 0.1664 -0.1081)
OKLCHoklch(48.37% 0.198 327)
XYZxyz(18.3149, 9.5646, 30.1537)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942097 #239720
analogous
#582097 #942097 #97205E
triadic
#942097 #979420 #209794
tetradic
#942097 #975820 #239720 #205E97
square
#942097 #975820 #239720 #205E97
split-complementary
#942097 #5E9720 #209758
monochromatic
#310B32 #631564 #942097 #C52BC9 #D856DB

Accessibility & contrast

On white

7.21
#942097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942097
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942097#FFFFFF#000000##FFFFFF
##9420971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942097;
/* rgb */ color: rgb(148, 32, 151);
/* oklch */ color: oklch(48.4% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#b76ab6',
    500: '#942097',
    950: '#000000',
  },
}
SCSS
$custom: #942097;
$custom-light: #b76ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#942097",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 298.487,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.19839,
    "h": 327
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#942097
secondary
#57BF54
accent
#E84044
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942097

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

Preview Lab → · Contrast checker → · Palette generator →

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