#974098#974098

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

Color values

HEX#974098
RGBrgb(151, 64, 152)
HSLhsl(299, 41%, 42%)
HSVhsv(299, 58%, 60%)
CMYKcmyk(0.7%, 57.9%, 0%, 40.4%)
CIE-LABlab(42.02, 48.60, -31.60)
CIE-LCHlch(42.02, 57.97, 326.97°)
OKLaboklab(52.07% 0.1348 -0.0871)
OKLCHoklch(52.07% 0.161 327.1)
XYZxyz(20.2631, 12.5143, 31.0479)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974098 #419840
analogous
#6B4098 #974098 #98406D
triadic
#974098 #989740 #409897
tetradic
#974098 #986B40 #419840 #406D98
square
#974098 #986B40 #419840 #406D98
split-complementary
#974098 #6D9840 #40986B
monochromatic
#411C42 #6C2E6D #974098 #B95BBA #CB86CC

Accessibility & contrast

On white

6.00
#974098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#974098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974098
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974098#FFFFFF#000000##FFFFFF
##9740981.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#9B4B66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974098;
/* rgb */ color: rgb(151, 64, 152);
/* oklch */ color: oklch(52.1% 0.161 327.1);
Tailwind
colors: {
  custom: {
    50: '#b87ab6',
    500: '#974098',
    950: '#000000',
  },
}
SCSS
$custom: #974098;
$custom-light: #b87ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#974098",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 299.318,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.16053,
    "h": 327.1
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#974098
secondary
#7EB77D
accent
#D15759
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #974098

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

Preview Lab → · Contrast checker → · Palette generator →

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