#942997#942997

#942997 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.189 H 326.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#942997
RGBrgb(148, 41, 151)
HSLhsl(298, 57%, 38%)
HSVhsv(298, 73%, 59%)
CMYKcmyk(2%, 72.8%, 0%, 40.8%)
CIE-LABlab(38.05, 57.26, -37.30)
CIE-LCHlch(38.05, 68.34, 326.92°)
OKLaboklab(49.08% 0.1583 -0.1035)
OKLCHoklch(49.08% 0.189 326.8)
XYZxyz(18.5913, 10.1174, 30.2458)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942997 #2C9729
analogous
#5D2997 #942997 #972963
triadic
#942997 #979429 #299794
tetradic
#942997 #975D29 #2C9729 #296397
square
#942997 #975D29 #2C9729 #296397
split-complementary
#942997 #639729 #29975D
monochromatic
#360F37 #651C67 #942997 #C336C7 #D265D5

Accessibility & contrast

On white

6.95
#942997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#942997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942997
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942997#FFFFFF#000000##FFFFFF
##9429971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#983B5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #942997;
/* rgb */ color: rgb(148, 41, 151);
/* oklch */ color: oklch(49.1% 0.189 326.8);
Tailwind
colors: {
  custom: {
    50: '#b76eb6',
    500: '#942997',
    950: '#000000',
  },
}
SCSS
$custom: #942997;
$custom-light: #b76eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#942997",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 298.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.18913,
    "h": 326.8
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#942997
secondary
#63BB61
accent
#E1474B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942997

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

Preview Lab → · Contrast checker → · Palette generator →

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