#974EED#974EED

#974EED is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.227 H 300.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#974EED
RGBrgb(151, 78, 237)
HSLhsl(268, 82%, 62%)
HSVhsv(268, 67%, 93%)
CMYKcmyk(36.3%, 67.1%, 0%, 7.1%)
CIE-LABlab(49.67, 60.26, -68.73)
CIE-LCHlch(49.67, 91.41, 311.25°)
OKLaboklab(59.26% 0.1159 -0.1958)
OKLCHoklch(59.26% 0.227 300.6)
XYZxyz(30.7692, 18.1423, 81.9851)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974EED #A4ED4E
analogous
#4E55ED #974EED #E64EED
triadic
#974EED #ED974E #4EED97
tetradic
#974EED #ED4E55 #A4ED4E #4EEDE6
square
#974EED #ED4E55 #A4ED4E #4EEDE6
split-complementary
#974EED #EDE64E #55ED4E
monochromatic
#5A12AF #7617E6 #974EED #B886F3 #D8BDF8

Accessibility & contrast

On white

4.54
#974EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#974EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974EED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974EED#FFFFFF#000000##000000
##974EED1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#847397
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #974eed;
/* rgb */ color: rgb(151, 78, 237);
/* oklch */ color: oklch(59.3% 0.227 300.6);
Tailwind
colors: {
  custom: {
    50: '#bc84f4',
    500: '#974eed',
    950: '#000000',
  },
}
SCSS
$custom: #974eed;
$custom-light: #bc84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#974eed",
  "rgb": {
    "r": 151,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 267.547,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5926,
    "c": 0.22748,
    "h": 300.6
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#974EED
secondary
#CEE9AE
accent
#DE087C
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #974EED

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

Preview Lab → · Contrast checker → · Palette generator →

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