#974BE1#974BE1

#974BE1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.218 H 303.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#974BE1
RGBrgb(151, 75, 225)
HSLhsl(270, 71%, 59%)
HSVhsv(270, 67%, 88%)
CMYKcmyk(32.9%, 66.7%, 0%, 11.8%)
CIE-LABlab(48.32, 58.85, -64.14)
CIE-LCHlch(48.32, 87.05, 312.54°)
OKLaboklab(58.03% 0.1205 -0.1823)
OKLCHoklch(58.03% 0.218 303.5)
XYZxyz(28.8661, 17.0477, 72.9894)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BE1 #95E14B
analogous
#4C4BE1 #974BE1 #E14BE0
triadic
#974BE1 #E1974B #4BE197
tetradic
#974BE1 #E14C4B #95E14B #4BE0E1
square
#974BE1 #E14C4B #95E14B #4BE0E1
split-complementary
#974BE1 #E0E14B #4BE14C
monochromatic
#5A1998 #7922CD #974BE1 #B57FEA #D4B4F2

Accessibility & contrast

On white

4.76
#974BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#974BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BE1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BE1#FFFFFF#000000##FFFFFF
##974BE11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0972DE
Tritanopia (blue-blind)
#896D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974be1;
/* rgb */ color: rgb(151, 75, 225);
/* oklch */ color: oklch(58.0% 0.218 303.5);
Tailwind
colors: {
  custom: {
    50: '#bb82eb',
    500: '#974be1',
    950: '#000000',
  },
}
SCSS
$custom: #974be1;
$custom-light: #bb82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974be1",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 270.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58031,
    "c": 0.21847,
    "h": 303.5
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#974BE1
secondary
#C4E1A6
accent
#EE3A93
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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