#974BBB#974BBB

#974BBB is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.178 H 313.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#974BBB
RGBrgb(151, 75, 187)
HSLhsl(281, 45%, 51%)
HSVhsv(281, 60%, 73%)
CMYKcmyk(19.3%, 59.9%, 0%, 26.7%)
CIE-LABlab(45.91, 50.27, -46.17)
CIE-LCHlch(45.91, 68.26, 317.43°)
OKLaboklab(55.52% 0.1225 -0.1295)
OKLCHoklch(55.52% 0.178 313.4)
XYZxyz(24.2467, 15.2000, 48.6607)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BBB #6FBB4B
analogous
#5F4BBB #974BBB #BB4BA7
triadic
#974BBB #BB974B #4BBB97
tetradic
#974BBB #BB5F4B #6FBB4B #4BA7BB
square
#974BBB #BB5F4B #6FBB4B #4BA7BB
split-complementary
#974BBB #A7BB4B #4BBB5F
monochromatic
#512665 #753792 #974BBB #B177CC #CAA4DD

Accessibility & contrast

On white

5.20
#974BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#974BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BBB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BBB#FFFFFF#000000##FFFFFF
##974BBB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#945F7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974bbb;
/* rgb */ color: rgb(151, 75, 187);
/* oklch */ color: oklch(55.5% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#b881d0',
    500: '#974bbb',
    950: '#000000',
  },
}
SCSS
$custom: #974bbb;
$custom-light: #b881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#974bbb",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 280.714,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.17829,
    "h": 313.4
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#974BBB
secondary
#A8CA98
accent
#D5537D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #974BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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