#974FDA#974FDA

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

Color values

HEX#974FDA
RGBrgb(151, 79, 218)
HSLhsl(271, 65%, 58%)
HSVhsv(271, 64%, 85%)
CMYKcmyk(30.7%, 63.8%, 0%, 14.5%)
CIE-LABlab(48.55, 55.28, -59.79)
CIE-LCHlch(48.55, 81.43, 312.76°)
OKLaboklab(58.05% 0.1167 -0.1695)
OKLCHoklch(58.05% 0.206 304.6)
XYZxyz(28.2105, 17.2334, 68.1563)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FDA #92DA4F
analogous
#514FDA #974FDA #DA4FD7
triadic
#974FDA #DA974F #4FDA97
tetradic
#974FDA #DA514F #92DA4F #4FD7DA
square
#974FDA #DA514F #92DA4F #4FD7DA
split-complementary
#974FDA #D7DA4F #4FDA51
monochromatic
#591E90 #7929C3 #974FDA #B582E5 #D3B4EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974FDA#FFFFFF#000000##FFFFFF
##974FDA1.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)
#0071DE
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#8B6D8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974fda;
/* rgb */ color: rgb(151, 79, 218);
/* oklch */ color: oklch(58.0% 0.206 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba84e6',
    500: '#974fda',
    950: '#000000',
  },
}
SCSS
$custom: #974fda;
$custom-light: #ba84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#974fda",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 271.079,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.2058,
    "h": 304.6
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#974FDA
secondary
#C1DEA7
accent
#E84091
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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