#974DCF#974DCF

#974DCF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.197 H 307.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#974DCF
RGBrgb(151, 77, 207)
HSLhsl(274, 58%, 56%)
HSVhsv(274, 63%, 81%)
CMYKcmyk(27.1%, 62.8%, 0%, 18.8%)
CIE-LABlab(47.49, 53.72, -55.22)
CIE-LCHlch(47.49, 77.04, 314.21°)
OKLaboklab(57.05% 0.1197 -0.156)
OKLCHoklch(57.05% 0.197 307.5)
XYZxyz(26.6765, 16.3924, 60.7781)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974DCF #85CF4D
analogous
#564DCF #974DCF #CF4DC6
triadic
#974DCF #CF974D #4DCF97
tetradic
#974DCF #CF564D #85CF4D #4DC6CF
square
#974DCF #CF564D #85CF4D #4DC6CF
split-complementary
#974DCF #C6CF4D #4DCF56
monochromatic
#57227F #782FAF #974DCF #B37DDC #CFADE9

Accessibility & contrast

On white

4.91
#974DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#974DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974DCF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974DCF#FFFFFF#000000##FFFFFF
##974DCF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#8E6787
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974dcf;
/* rgb */ color: rgb(151, 77, 207);
/* oklch */ color: oklch(57.1% 0.197 307.5);
Tailwind
colors: {
  custom: {
    50: '#b983de',
    500: '#974dcf',
    950: '#000000',
  },
}
SCSS
$custom: #974dcf;
$custom-light: #b983de;
$custom-dark: #000000;
JSON
{
  "hex": "#974dcf",
  "rgb": {
    "r": 151,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 274.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.19667,
    "h": 307.5
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#974DCF
secondary
#B8D7A1
accent
#E14789
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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