#974ABA#974ABA

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

Color values

HEX#974ABA
RGBrgb(151, 74, 186)
HSLhsl(281, 45%, 51%)
HSVhsv(281, 60%, 73%)
CMYKcmyk(18.8%, 60.2%, 0%, 27.1%)
CIE-LABlab(45.67, 50.55, -45.98)
CIE-LCHlch(45.67, 68.33, 317.71°)
OKLaboklab(55.32% 0.1238 -0.129)
OKLCHoklch(55.32% 0.179 313.8)
XYZxyz(24.0727, 15.0227, 48.0764)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ABA #6DBA4A
analogous
#5F4ABA #974ABA #BA4AA5
triadic
#974ABA #BA974A #4ABA97
tetradic
#974ABA #BA5F4A #6DBA4A #4AA5BA
square
#974ABA #BA5F4A #6DBA4A #4AA5BA
split-complementary
#974ABA #A5BA4A #4ABA5F
monochromatic
#502664 #743790 #974ABA #B076CB #CAA3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974ABA#FFFFFF#000000##FFFFFF
##974ABA1.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)
#2568BE
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#945E7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #974aba;
/* rgb */ color: rgb(151, 74, 186);
/* oklch */ color: oklch(55.3% 0.179 313.8);
Tailwind
colors: {
  custom: {
    50: '#b981cf',
    500: '#974aba',
    950: '#000000',
  },
}
SCSS
$custom: #974aba;
$custom-light: #b981cf;
$custom-dark: #000000;
JSON
{
  "hex": "#974aba",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 281.25,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.17873,
    "h": 313.8
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#974ABA
secondary
#A7C997
accent
#D5537C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #974ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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