#974ADF#974ADF

#974ADF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.218 H 304.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#974ADF
RGBrgb(151, 74, 223)
HSLhsl(271, 70%, 58%)
HSVhsv(271, 67%, 87%)
CMYKcmyk(32.3%, 66.8%, 0%, 12.5%)
CIE-LABlab(48.01, 58.85, -63.50)
CIE-LCHlch(48.01, 86.58, 312.82°)
OKLaboklab(57.77% 0.1217 -0.1804)
OKLCHoklch(57.77% 0.218 304)
XYZxyz(28.5275, 16.8047, 71.5385)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ADF #92DF4A
analogous
#4C4ADF #974ADF #DF4ADC
triadic
#974ADF #DF974A #4ADF97
tetradic
#974ADF #DF4C4A #92DF4A #4ADCDF
square
#974ADF #DF4C4A #92DF4A #4ADCDF
split-complementary
#974ADF #DCDF4A #4ADF4C
monochromatic
#591A94 #7923C8 #974ADF #B57EE8 #D3B2F1

Accessibility & contrast

On white

4.82
#974ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#974ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ADF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ADF#FFFFFF#000000##FFFFFF
##974ADF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0E72DC
Tritanopia (blue-blind)
#896B8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974adf;
/* rgb */ color: rgb(151, 74, 223);
/* oklch */ color: oklch(57.8% 0.218 304.0);
Tailwind
colors: {
  custom: {
    50: '#bb82ea',
    500: '#974adf',
    950: '#000000',
  },
}
SCSS
$custom: #974adf;
$custom-light: #bb82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974adf",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 271.007,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.21762,
    "h": 304
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#974ADF
secondary
#C1E0A5
accent
#ED3B91
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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