#974ADB#974ADB

#974ADB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.213 H 304.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#974ADB
RGBrgb(151, 74, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 66%, 86%)
CMYKcmyk(31.1%, 66.2%, 0%, 14.1%)
CIE-LABlab(47.74, 57.92, -61.67)
CIE-LCHlch(47.74, 84.61, 313.21°)
OKLaboklab(57.49% 0.1222 -0.175)
OKLCHoklch(57.49% 0.213 304.9)
XYZxyz(27.9946, 16.5915, 68.7318)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ADB #8EDB4A
analogous
#4F4ADB #974ADB #DB4AD6
triadic
#974ADB #DB974A #4ADB97
tetradic
#974ADB #DB4F4A #8EDB4A #4AD6DB
square
#974ADB #DB4F4A #8EDB4A #4AD6DB
split-complementary
#974ADB #D6DB4A #4ADB4F
monochromatic
#591C8E #7926C1 #974ADB #B47DE5 #D2B0EF

Accessibility & contrast

On white

4.86
#974ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#974ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ADB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ADB#FFFFFF#000000##FFFFFF
##974ADB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#8B6A8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974adb;
/* rgb */ color: rgb(151, 74, 219);
/* oklch */ color: oklch(57.5% 0.213 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba82e7',
    500: '#974adb',
    950: '#000000',
  },
}
SCSS
$custom: #974adb;
$custom-light: #ba82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#974adb",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 271.862,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.21341,
    "h": 304.9
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

primary
#974ADB
secondary
#BFDEA3
accent
#EA3E8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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