#974EBD#974EBD

#974EBD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.176 H 312.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#974EBD
RGBrgb(151, 78, 189)
HSLhsl(279, 46%, 52%)
HSVhsv(279, 59%, 74%)
CMYKcmyk(20.1%, 58.7%, 0%, 25.9%)
CIE-LABlab(46.58, 49.20, -46.26)
CIE-LCHlch(46.58, 67.53, 316.76°)
OKLaboklab(56.05% 0.1187 -0.1298)
OKLCHoklch(56.05% 0.176 312.4)
XYZxyz(24.6706, 15.7028, 49.8656)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EBD #74BD4E
analogous
#5F4EBD #974EBD #BD4EAC
triadic
#974EBD #BD974E #4EBD97
tetradic
#974EBD #BD5F4E #74BD4E #4EACBD
square
#974EBD #BD5F4E #74BD4E #4EACBD
split-complementary
#974EBD #ACBD4E #4EBD5F
monochromatic
#532769 #763896 #974EBD #B17BCE #CBA7DE

Accessibility & contrast

On white

5.07
#974EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#974EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974EBD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EBD#FFFFFF#000000##FFFFFF
##974EBD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#93627E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #974ebd;
/* rgb */ color: rgb(151, 78, 189);
/* oklch */ color: oklch(56.0% 0.176 312.4);
Tailwind
colors: {
  custom: {
    50: '#b883d1',
    500: '#974ebd',
    950: '#000000',
  },
}
SCSS
$custom: #974ebd;
$custom-light: #b883d1;
$custom-dark: #000000;
JSON
{
  "hex": "#974ebd",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 279.459,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.17591,
    "h": 312.4
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#974EBD
secondary
#ACCC9B
accent
#D5527F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #974EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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