#974DB0#974DB0

#974DB0 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.1% C 0.164 H 316.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#974DB0
RGBrgb(151, 77, 176)
HSLhsl(285, 39%, 50%)
HSVhsv(285, 56%, 69%)
CMYKcmyk(14.2%, 56.2%, 0%, 31%)
CIE-LABlab(45.66, 46.91, -40.12)
CIE-LCHlch(45.66, 61.73, 319.46°)
OKLaboklab(55.14% 0.1194 -0.1119)
OKLCHoklch(55.14% 0.164 316.9)
XYZxyz(23.2517, 15.0225, 42.7407)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DB0 #66B04D
analogous
#654DB0 #974DB0 #B04D98
triadic
#974DB0 #B0974D #4DB097
tetradic
#974DB0 #B0654D #66B04D #4D98B0
square
#974DB0 #B0654D #66B04D #4D98B0
split-complementary
#974DB0 #98B04D #4DB065
monochromatic
#4E285B #723A85 #974DB0 #B077C3 #C9A1D6

Accessibility & contrast

On white

5.24
#974DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#974DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DB0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DB0#FFFFFF#000000##FFFFFF
##974DB01.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B3
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#965D77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #974db0;
/* rgb */ color: rgb(151, 77, 176);
/* oklch */ color: oklch(55.1% 0.164 316.9);
Tailwind
colors: {
  custom: {
    50: '#b882c8',
    500: '#974db0',
    950: '#000000',
  },
}
SCSS
$custom: #974db0;
$custom-light: #b882c8;
$custom-dark: #000000;
JSON
{
  "hex": "#974db0",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 284.848,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.16365,
    "h": 316.9
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#974DB0
secondary
#A1C396
accent
#CF5977
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #974DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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