#974CCF#974CCF

#974CCF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.198 H 307.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#974CCF
RGBrgb(151, 76, 207)
HSLhsl(274, 58%, 55%)
HSVhsv(274, 63%, 81%)
CMYKcmyk(27.1%, 63.3%, 0%, 18.8%)
CIE-LABlab(47.31, 54.21, -55.51)
CIE-LCHlch(47.31, 77.59, 314.33°)
OKLaboklab(56.92% 0.1209 -0.1569)
OKLCHoklch(56.92% 0.198 307.6)
XYZxyz(26.6071, 16.2535, 60.7550)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974CCF #84CF4C
analogous
#554CCF #974CCF #CF4CC5
triadic
#974CCF #CF974C #4CCF97
tetradic
#974CCF #CF554C #84CF4C #4CC5CF
square
#974CCF #CF554C #84CF4C #4CC5CF
split-complementary
#974CCF #C5CF4C #4CCF55
monochromatic
#57227F #782FAF #974CCF #B37CDC #CFADE9

Accessibility & contrast

On white

4.94
#974CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#974CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974CCF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974CCF#FFFFFF#000000##FFFFFF
##974CCF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#8E6787
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974ccf;
/* rgb */ color: rgb(151, 76, 207);
/* oklch */ color: oklch(56.9% 0.198 307.6);
Tailwind
colors: {
  custom: {
    50: '#b982de',
    500: '#974ccf',
    950: '#000000',
  },
}
SCSS
$custom: #974ccf;
$custom-light: #b982de;
$custom-dark: #000000;
JSON
{
  "hex": "#974ccf",
  "rgb": {
    "r": 151,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 274.351,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.19805,
    "h": 307.6
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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