#974FE8#974FE8

#974FE8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.221 H 301.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#974FE8
RGBrgb(151, 79, 232)
HSLhsl(268, 77%, 61%)
HSVhsv(268, 66%, 91%)
CMYKcmyk(34.9%, 65.9%, 0%, 9%)
CIE-LABlab(49.49, 58.59, -66.20)
CIE-LCHlch(49.49, 88.40, 311.51°)
OKLaboklab(59.02% 0.1154 -0.1883)
OKLCHoklch(59.02% 0.221 301.5)
XYZxyz(30.1205, 17.9973, 78.2153)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE8 #A0E84F
analogous
#4F53E8 #974FE8 #E34FE8
triadic
#974FE8 #E8974F #4FE897
tetradic
#974FE8 #E84F53 #A0E84F #4FE8E3
square
#974FE8 #E84F53 #A0E84F #4FE8E3
split-complementary
#974FE8 #E8E34F #53E84F
monochromatic
#5A16A7 #771DDD #974FE8 #B785EF #D7BBF6

Accessibility & contrast

On white

4.57
#974FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#974FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #974FE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE8#FFFFFF#000000##000000
##974FE81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#867295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #974fe8;
/* rgb */ color: rgb(151, 79, 232);
/* oklch */ color: oklch(59.0% 0.221 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb85f0',
    500: '#974fe8',
    950: '#000000',
  },
}
SCSS
$custom: #974fe8;
$custom-light: #bb85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe8",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 268.235,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.22089,
    "h": 301.5
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#974FE8
secondary
#CBE6AD
accent
#D90C79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #974FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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