#974FCF#974FCF

#974FCF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.194 H 307.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#974FCF
RGBrgb(151, 79, 207)
HSLhsl(274, 57%, 56%)
HSVhsv(274, 62%, 81%)
CMYKcmyk(27.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(47.85, 52.73, -54.63)
CIE-LCHlch(47.85, 75.93, 313.99°)
OKLaboklab(57.32% 0.1173 -0.1543)
OKLCHoklch(57.32% 0.194 307.2)
XYZxyz(26.8186, 16.6766, 60.8255)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FCF #87CF4F
analogous
#574FCF #974FCF #CF4FC7
triadic
#974FCF #CF974F #4FCF97
tetradic
#974FCF #CF574F #87CF4F #4FC7CF
square
#974FCF #CF574F #87CF4F #4FC7CF
split-complementary
#974FCF #C7CF4F #4FCF57
monochromatic
#582381 #7830B1 #974FCF #B37FDC #D0AFE9

Accessibility & contrast

On white

4.84
#974FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#974FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FCF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FCF#FFFFFF#000000##FFFFFF
##974FCF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#8E6988
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974fcf;
/* rgb */ color: rgb(151, 79, 207);
/* oklch */ color: oklch(57.3% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#b984de',
    500: '#974fcf',
    950: '#000000',
  },
}
SCSS
$custom: #974fcf;
$custom-light: #b984de;
$custom-dark: #000000;
JSON
{
  "hex": "#974fcf",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 273.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.19388,
    "h": 307.2
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#974FCF
secondary
#BAD7A2
accent
#E0478A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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