#974DE2#974DE2

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

Color values

HEX#974DE2
RGBrgb(151, 77, 226)
HSLhsl(270, 72%, 59%)
HSVhsv(270, 66%, 89%)
CMYKcmyk(33.2%, 65.9%, 0%, 11.4%)
CIE-LABlab(48.73, 58.13, -64.04)
CIE-LCHlch(48.73, 86.49, 312.23°)
OKLaboklab(58.35% 0.1182 -0.182)
OKLCHoklch(58.35% 0.217 303)
XYZxyz(29.1407, 17.3781, 73.7558)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DE2 #98E24D
analogous
#4D4DE2 #974DE2 #E24DE2
triadic
#974DE2 #E2974D #4DE297
tetradic
#974DE2 #E24D4D #98E24D #4DE2E2
square
#974DE2 #E24D4D #98E24D #4DE2E2
split-complementary
#974DE2 #E2E24D #4DE24D
monochromatic
#5A199B #7822D0 #974DE2 #B682EB #D4B6F3

Accessibility & contrast

On white

4.69
#974DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#974DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DE2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DE2#FFFFFF#000000##FFFFFF
##974DE21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0D73DF
Tritanopia (blue-blind)
#886E91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974de2;
/* rgb */ color: rgb(151, 77, 226);
/* oklch */ color: oklch(58.3% 0.217 303.0);
Tailwind
colors: {
  custom: {
    50: '#bb83ec',
    500: '#974de2',
    950: '#000000',
  },
}
SCSS
$custom: #974de2;
$custom-light: #bb83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#974de2",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 269.799,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.217,
    "h": 303
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#974DE2
secondary
#C6E2A8
accent
#EF3995
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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