#974FE2#974FE2

#974FE2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.214 H 302.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#974FE2
RGBrgb(151, 79, 226)
HSLhsl(269, 72%, 60%)
HSVhsv(269, 65%, 89%)
CMYKcmyk(33.2%, 65%, 0%, 11.4%)
CIE-LABlab(49.08, 57.16, -63.47)
CIE-LCHlch(49.08, 85.42, 312.01°)
OKLaboklab(58.6% 0.1161 -0.1803)
OKLCHoklch(58.6% 0.214 302.8)
XYZxyz(29.2828, 17.6622, 73.8032)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FE2 #9AE24F
analogous
#4F51E2 #974FE2 #E14FE2
triadic
#974FE2 #E2974F #4FE297
tetradic
#974FE2 #E24F51 #9AE24F #4FE2E1
square
#974FE2 #E24F51 #9AE24F #4FE2E1
split-complementary
#974FE2 #E2E14F #51E24F
monochromatic
#5A1A9D #7822D1 #974FE2 #B684EB #D5B8F3

Accessibility & contrast

On white

4.63
#974FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#974FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #974FE2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FE2#FFFFFF#000000##FFFFFF
##974FE21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#1574DF
Tritanopia (blue-blind)
#887092
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #974fe2;
/* rgb */ color: rgb(151, 79, 226);
/* oklch */ color: oklch(58.6% 0.214 302.8);
Tailwind
colors: {
  custom: {
    50: '#bb85ec',
    500: '#974fe2',
    950: '#000000',
  },
}
SCSS
$custom: #974fe2;
$custom-light: #bb85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#974fe2",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 269.388,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.21443,
    "h": 302.8
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#974FE2
secondary
#C7E3AA
accent
#EE3996
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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