#974DE0#974DE0

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

Color values

HEX#974DE0
RGBrgb(151, 77, 224)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 66%, 88%)
CMYKcmyk(32.6%, 65.6%, 0%, 12.2%)
CIE-LABlab(48.60, 57.66, -63.13)
CIE-LCHlch(48.60, 85.49, 312.41°)
OKLaboklab(58.21% 0.1184 -0.1793)
OKLCHoklch(58.21% 0.215 303.4)
XYZxyz(28.8678, 17.2689, 72.3190)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DE0 #96E04D
analogous
#4E4DE0 #974DE0 #E04DE0
triadic
#974DE0 #E0974D #4DE097
tetradic
#974DE0 #E04E4D #96E04D #4DE0E0
square
#974DE0 #E04E4D #96E04D #4DE0E0
split-complementary
#974DE0 #E0E04D #4DE04E
monochromatic
#5A1A98 #7824CC #974DE0 #B581E9 #D4B5F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974DE0#FFFFFF#000000##FFFFFF
##974DE01.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)
#0072E4
Deuteranopia (green-blind)
#1573DD
Tritanopia (blue-blind)
#896E90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #974de0;
/* rgb */ color: rgb(151, 77, 224);
/* oklch */ color: oklch(58.2% 0.215 303.4);
Tailwind
colors: {
  custom: {
    50: '#bb83eb',
    500: '#974de0',
    950: '#000000',
  },
}
SCSS
$custom: #974de0;
$custom-light: #bb83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#974de0",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 270.204,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.21487,
    "h": 303.4
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#974DE0
secondary
#C4E1A8
accent
#ED3B93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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