#974EDD#974EDD

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

Color values

HEX#974EDD
RGBrgb(151, 78, 221)
HSLhsl(271, 68%, 59%)
HSVhsv(271, 65%, 87%)
CMYKcmyk(31.7%, 64.7%, 0%, 13.3%)
CIE-LABlab(48.57, 56.47, -61.46)
CIE-LCHlch(48.57, 83.47, 312.58°)
OKLaboklab(58.13% 0.1176 -0.1744)
OKLCHoklch(58.13% 0.21 304)
XYZxyz(28.5351, 17.2486, 70.2186)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EDD #94DD4E
analogous
#4F4EDD #974EDD #DD4EDC
triadic
#974EDD #DD974E #4EDD97
tetradic
#974EDD #DD4F4E #94DD4E #4EDCDD
square
#974EDD #DD4F4E #94DD4E #4EDCDD
split-complementary
#974EDD #DCDD4E #4EDD4F
monochromatic
#5A1C94 #7926C7 #974EDD #B581E7 #D3B5F1

Accessibility & contrast

On white

4.72
#974EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#974EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EDD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EDD#FFFFFF#000000##FFFFFF
##974EDD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#8A6D8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974edd;
/* rgb */ color: rgb(151, 78, 221);
/* oklch */ color: oklch(58.1% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba84e8',
    500: '#974edd',
    950: '#000000',
  },
}
SCSS
$custom: #974edd;
$custom-light: #ba84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#974edd",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 270.629,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.21036,
    "h": 304
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#974EDD
secondary
#C3E0A7
accent
#EB3D92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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