#974EDF#974EDF

#974EDF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.212 H 303.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#974EDF
RGBrgb(151, 78, 223)
HSLhsl(270, 69%, 59%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(32.3%, 65%, 0%, 12.5%)
CIE-LABlab(48.71, 56.94, -62.38)
CIE-LCHlch(48.71, 84.46, 312.39°)
OKLaboklab(58.26% 0.1174 -0.1771)
OKLCHoklch(58.26% 0.213 303.5)
XYZxyz(28.8031, 17.3558, 71.6303)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EDF #96DF4E
analogous
#4F4EDF #974EDF #DF4EDF
triadic
#974EDF #DF974E #4EDF97
tetradic
#974EDF #DF4F4E #96DF4E #4EDFDF
square
#974EDF #DF4F4E #96DF4E #4EDFDF
split-complementary
#974EDF #DFDF4E #4EDF4F
monochromatic
#5A1B97 #7825CB #974EDF #B582E8 #D4B6F2

Accessibility & contrast

On white

4.70
#974EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#974EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EDF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EDF#FFFFFF#000000##FFFFFF
##974EDF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#1B73DC
Tritanopia (blue-blind)
#896E90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974edf;
/* rgb */ color: rgb(151, 78, 223);
/* oklch */ color: oklch(58.3% 0.212 303.5);
Tailwind
colors: {
  custom: {
    50: '#ba84ea',
    500: '#974edf',
    950: '#000000',
  },
}
SCSS
$custom: #974edf;
$custom-light: #ba84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#974edf",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 270.207,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.2125,
    "h": 303.5
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#974EDF
secondary
#C4E1A8
accent
#EC3C93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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