#974EB2#974EB2

#974EB2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.4% C 0.164 H 316.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#974EB2
RGBrgb(151, 78, 178)
HSLhsl(284, 39%, 50%)
HSVhsv(284, 56%, 70%)
CMYKcmyk(15.2%, 56.2%, 0%, 30.2%)
CIE-LABlab(45.97, 46.82, -40.82)
CIE-LCHlch(45.97, 62.12, 318.92°)
OKLaboklab(55.4% 0.1182 -0.1139)
OKLCHoklch(55.4% 0.164 316.1)
XYZxyz(23.5215, 15.2432, 43.8140)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EB2 #69B24E
analogous
#654EB2 #974EB2 #B24E9B
triadic
#974EB2 #B2974E #4EB297
tetradic
#974EB2 #B2654E #69B24E #4E9BB2
square
#974EB2 #B2654E #69B24E #4E9BB2
split-complementary
#974EB2 #9BB24E #4EB265
monochromatic
#4F295D #733B88 #974EB2 #B079C5 #C9A3D7

Accessibility & contrast

On white

5.19
#974EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#974EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EB2#FFFFFF#000000##FFFFFF
##974EB21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#965E78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974eb2;
/* rgb */ color: rgb(151, 78, 178);
/* oklch */ color: oklch(55.4% 0.164 316.1);
Tailwind
colors: {
  custom: {
    50: '#b883c9',
    500: '#974eb2',
    950: '#000000',
  },
}
SCSS
$custom: #974eb2;
$custom-light: #b883c9;
$custom-dark: #000000;
JSON
{
  "hex": "#974eb2",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 283.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.16418,
    "h": 316.1
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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