#974ECD#974ECD

#974ECD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.193 H 307.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#974ECD
RGBrgb(151, 78, 205)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(26.3%, 62%, 0%, 19.6%)
CIE-LABlab(47.54, 52.77, -53.98)
CIE-LCHlch(47.54, 75.49, 314.35°)
OKLaboklab(57.05% 0.1186 -0.1524)
OKLCHoklch(57.05% 0.193 307.9)
XYZxyz(26.5041, 16.4362, 59.5220)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974ECD #84CD4E
analogous
#574ECD #974ECD #CD4EC4
triadic
#974ECD #CD974E #4ECD97
tetradic
#974ECD #CD574E #84CD4E #4EC4CD
square
#974ECD #CD574E #84CD4E #4EC4CD
split-complementary
#974ECD #C4CD4E #4ECD57
monochromatic
#57237D #7831AD #974ECD #B37EDA #CFADE8

Accessibility & contrast

On white

4.90
#974ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#974ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974ECD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974ECD#FFFFFF#000000##FFFFFF
##974ECD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076ED1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#8F6786
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974ecd;
/* rgb */ color: rgb(151, 78, 205);
/* oklch */ color: oklch(57.1% 0.193 307.9);
Tailwind
colors: {
  custom: {
    50: '#b983dd',
    500: '#974ecd',
    950: '#000000',
  },
}
SCSS
$custom: #974ecd;
$custom-light: #b983dd;
$custom-dark: #000000;
JSON
{
  "hex": "#974ecd",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 274.488,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.19313,
    "h": 307.9
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#974ECD
secondary
#B7D6A1
accent
#DF4989
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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