#974FB2#974FB2

#974FB2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.5% C 0.163 H 316.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#974FB2
RGBrgb(151, 79, 178)
HSLhsl(284, 39%, 50%)
HSVhsv(284, 56%, 70%)
CMYKcmyk(15.2%, 55.6%, 0%, 30.2%)
CIE-LABlab(46.16, 46.31, -40.51)
CIE-LCHlch(46.16, 61.53, 318.82°)
OKLaboklab(55.54% 0.1169 -0.113)
OKLCHoklch(55.54% 0.163 316)
XYZxyz(23.5931, 15.3864, 43.8379)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FB2 #6AB24F
analogous
#654FB2 #974FB2 #B24F9B
triadic
#974FB2 #B2974F #4FB297
tetradic
#974FB2 #B2654F #6AB24F #4F9BB2
square
#974FB2 #B2654F #6AB24F #4F9BB2
split-complementary
#974FB2 #9BB24F #4FB265
monochromatic
#4F295E #733C88 #974FB2 #B07AC5 #C9A4D7

Accessibility & contrast

On white

5.15
#974FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#974FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FB2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FB2#FFFFFF#000000##FFFFFF
##974FB21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#965F79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974fb2;
/* rgb */ color: rgb(151, 79, 178);
/* oklch */ color: oklch(55.5% 0.163 316.0);
Tailwind
colors: {
  custom: {
    50: '#b883c9',
    500: '#974fb2',
    950: '#000000',
  },
}
SCSS
$custom: #974fb2;
$custom-light: #b883c9;
$custom-dark: #000000;
JSON
{
  "hex": "#974fb2",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 283.636,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.1626,
    "h": 316
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#974FB2
secondary
#A4C498
accent
#CF5979
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #974FB2

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

Preview Lab → · Contrast checker → · Palette generator →

#974FB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva