#974BB2#974BB2

#974BB2 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.169 H 316.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#974BB2
RGBrgb(151, 75, 178)
HSLhsl(284, 41%, 50%)
HSVhsv(284, 58%, 70%)
CMYKcmyk(15.2%, 57.9%, 0%, 30.2%)
CIE-LABlab(45.40, 48.35, -41.72)
CIE-LCHlch(45.40, 63.86, 319.21°)
OKLaboklab(54.98% 0.1222 -0.1165)
OKLCHoklch(54.98% 0.169 316.4)
XYZxyz(23.3133, 14.8266, 43.7446)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BB2 #66B24B
analogous
#644BB2 #974BB2 #B24B99
triadic
#974BB2 #B2974B #4BB297
tetradic
#974BB2 #B2644B #66B24B #4B99B2
square
#974BB2 #B2644B #66B24B #4B99B2
split-complementary
#974BB2 #99B24B #4BB264
monochromatic
#4E275C #723987 #974BB2 #B075C5 #C9A0D7

Accessibility & contrast

On white

5.30
#974BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#974BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BB2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BB2#FFFFFF#000000##FFFFFF
##974BB21.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#965C77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #974bb2;
/* rgb */ color: rgb(151, 75, 178);
/* oklch */ color: oklch(55.0% 0.169 316.4);
Tailwind
colors: {
  custom: {
    50: '#b881c9',
    500: '#974bb2',
    950: '#000000',
  },
}
SCSS
$custom: #974bb2;
$custom-light: #b881c9;
$custom-dark: #000000;
JSON
{
  "hex": "#974bb2",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 284.272,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.16888,
    "h": 316.4
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#974BB2
secondary
#A1C495
accent
#D15777
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #974BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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