#974FE3#974FE3

#974FE3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.216 H 302.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#974FE3
RGBrgb(151, 79, 227)
HSLhsl(269, 73%, 60%)
HSVhsv(269, 65%, 89%)
CMYKcmyk(33.5%, 65.2%, 0%, 11%)
CIE-LABlab(49.15, 57.40, -63.93)
CIE-LCHlch(49.15, 85.92, 311.92°)
OKLaboklab(58.67% 0.116 -0.1816)
OKLCHoklch(58.67% 0.216 302.6)
XYZxyz(29.4204, 17.7173, 74.5280)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE3 #9BE34F
analogous
#4F51E3 #974FE3 #E14FE3
triadic
#974FE3 #E3974F #4FE397
tetradic
#974FE3 #E34F51 #9BE34F #4FE3E1
square
#974FE3 #E34F51 #9BE34F #4FE3E1
split-complementary
#974FE3 #E3E14F #51E34F
monochromatic
#5A199E #7822D3 #974FE3 #B684EB #D5B9F4

Accessibility & contrast

On white

4.62
#974FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#974FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974FE3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE3#FFFFFF#000000##FFFFFF
##974FE31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#1274E0
Tritanopia (blue-blind)
#887092
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974fe3;
/* rgb */ color: rgb(151, 79, 227);
/* oklch */ color: oklch(58.7% 0.216 302.6);
Tailwind
colors: {
  custom: {
    50: '#bb85ed',
    500: '#974fe3',
    950: '#000000',
  },
}
SCSS
$custom: #974fe3;
$custom-light: #bb85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe3",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 269.189,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.21551,
    "h": 302.6
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#974FE3
secondary
#C8E3AA
accent
#EF3996
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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