#974DDF#974DDF

#974DDF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.214 H 303.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#974DDF
RGBrgb(151, 77, 223)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(32.3%, 65.5%, 0%, 12.5%)
CIE-LABlab(48.53, 57.42, -62.67)
CIE-LCHlch(48.53, 85.00, 312.50°)
OKLaboklab(58.14% 0.1185 -0.1779)
OKLCHoklch(58.14% 0.214 303.7)
XYZxyz(28.7326, 17.2148, 71.6068)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DDF #95DF4D
analogous
#4E4DDF #974DDF #DF4DDE
triadic
#974DDF #DF974D #4DDF97
tetradic
#974DDF #DF4E4D #95DF4D #4DDEDF
square
#974DDF #DF4E4D #95DF4D #4DDEDF
split-complementary
#974DDF #DEDF4D #4DDF4E
monochromatic
#5A1B97 #7924CA #974DDF #B581E8 #D4B5F2

Accessibility & contrast

On white

4.73
#974DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#974DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DDF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DDF#FFFFFF#000000##FFFFFF
##974DDF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#1873DC
Tritanopia (blue-blind)
#896D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974ddf;
/* rgb */ color: rgb(151, 77, 223);
/* oklch */ color: oklch(58.1% 0.214 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb83ea',
    500: '#974ddf',
    950: '#000000',
  },
}
SCSS
$custom: #974ddf;
$custom-light: #bb83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974ddf",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 270.411,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.2138,
    "h": 303.7
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#974DDF
secondary
#C4E1A7
accent
#EC3B93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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