#974BE5#974BE5

#974BE5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.223 H 302.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#974BE5
RGBrgb(151, 75, 229)
HSLhsl(270, 75%, 60%)
HSVhsv(270, 67%, 90%)
CMYKcmyk(34.1%, 67.2%, 0%, 10.2%)
CIE-LABlab(48.60, 59.78, -65.96)
CIE-LCHlch(48.60, 89.02, 312.19°)
OKLaboklab(58.32% 0.12 -0.1876)
OKLCHoklch(58.32% 0.223 302.6)
XYZxyz(29.4181, 17.2686, 75.8969)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BE5 #99E54B
analogous
#4B4CE5 #974BE5 #E44BE5
triadic
#974BE5 #E5974B #4BE597
tetradic
#974BE5 #E54B4C #99E54B #4BE5E4
square
#974BE5 #E54B4C #99E54B #4BE5E4
split-complementary
#974BE5 #E5E44B #4CE54B
monochromatic
#5A179F #781FD4 #974BE5 #B680ED #D5B6F4

Accessibility & contrast

On white

4.72
#974BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#974BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BE5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BE5#FFFFFF#000000##FFFFFF
##974BE51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#876E92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974be5;
/* rgb */ color: rgb(151, 75, 229);
/* oklch */ color: oklch(58.3% 0.223 302.6);
Tailwind
colors: {
  custom: {
    50: '#bb82ee',
    500: '#974be5',
    950: '#000000',
  },
}
SCSS
$custom: #974be5;
$custom-light: #bb82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#974be5",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 269.61,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.22268,
    "h": 302.6
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#974BE5
secondary
#C6E4A8
accent
#F13695
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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