#974BEA#974BEA

#974BEA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.228 H 301.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#974BEA
RGBrgb(151, 75, 234)
HSLhsl(269, 79%, 61%)
HSVhsv(269, 68%, 92%)
CMYKcmyk(35.5%, 67.9%, 0%, 8.2%)
CIE-LABlab(48.95, 60.96, -68.21)
CIE-LCHlch(48.95, 91.48, 311.79°)
OKLaboklab(58.68% 0.1193 -0.1942)
OKLCHoklch(58.68% 0.228 301.6)
XYZxyz(30.1263, 17.5518, 79.6266)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BEA #9EEA4B
analogous
#4B4FEA #974BEA #E64BEA
triadic
#974BEA #EA974B #4BEA97
tetradic
#974BEA #EA4B4F #9EEA4B #4BEAE6
square
#974BEA #EA4B4F #9EEA4B #4BEAE6
split-complementary
#974BEA #EAE64B #4FEA4B
monochromatic
#5A13A7 #781ADE #974BEA #B782F0 #D6B9F7

Accessibility & contrast

On white

4.66
#974BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#974BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974BEA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BEA#FFFFFF#000000##FFFFFF
##974BEA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#857095
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #974bea;
/* rgb */ color: rgb(151, 75, 234);
/* oklch */ color: oklch(58.7% 0.228 301.6);
Tailwind
colors: {
  custom: {
    50: '#bb83f2',
    500: '#974bea',
    950: '#000000',
  },
}
SCSS
$custom: #974bea;
$custom-light: #bb83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#974bea",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 234
  },
  "hsl": {
    "h": 268.679,
    "s": 79.104,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.22794,
    "h": 301.6
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#974BEA
secondary
#CAE7AA
accent
#DB0A77
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #974BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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