#974099#974099

#974099 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.1% C 0.161 H 326.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#974099
RGBrgb(151, 64, 153)
HSLhsl(299, 41%, 43%)
HSVhsv(299, 58%, 60%)
CMYKcmyk(1.3%, 58.2%, 0%, 40%)
CIE-LABlab(42.07, 48.78, -32.12)
CIE-LCHlch(42.07, 58.41, 326.63°)
OKLaboklab(52.12% 0.1349 -0.0886)
OKLCHoklch(52.12% 0.161 326.7)
XYZxyz(20.3453, 12.5472, 31.4810)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974099 #429940
analogous
#6B4099 #974099 #99406E
triadic
#974099 #999740 #409997
tetradic
#974099 #996B40 #429940 #406E99
square
#974099 #996B40 #429940 #406E99
split-complementary
#974099 #6E9940 #40996B
monochromatic
#421C43 #6C2E6E #974099 #B85CBB #CB87CD

Accessibility & contrast

On white

5.98
#974099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#974099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974099
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974099#FFFFFF#000000##FFFFFF
##9740991.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#9B4B66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974099;
/* rgb */ color: rgb(151, 64, 153);
/* oklch */ color: oklch(52.1% 0.161 326.7);
Tailwind
colors: {
  custom: {
    50: '#b87ab7',
    500: '#974099',
    950: '#000000',
  },
}
SCSS
$custom: #974099;
$custom-light: #b87ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#974099",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 298.652,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.16143,
    "h": 326.7
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#974099
secondary
#7FB77E
accent
#D1575A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #974099

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

Preview Lab → · Contrast checker → · Palette generator →

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