#974FCB#974FCB

#974FCB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.190 H 308.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#974FCB
RGBrgb(151, 79, 203)
HSLhsl(275, 54%, 55%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.6%, 61.1%, 0%, 20.4%)
CIE-LABlab(47.60, 51.82, -52.73)
CIE-LCHlch(47.60, 73.93, 314.50°)
OKLaboklab(57.06% 0.1175 -0.1488)
OKLCHoklch(57.06% 0.19 308.3)
XYZxyz(26.3358, 16.4835, 58.2826)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974FCB #83CB4F
analogous
#594FCB #974FCB #CB4FC1
triadic
#974FCB #CB974F #4FCB97
tetradic
#974FCB #CB594F #83CB4F #4FC1CB
square
#974FCB #CB594F #83CB4F #4FC1CB
split-complementary
#974FCB #C1CB4F #4FCB59
monochromatic
#57247B #7832AA #974FCB #B37ED9 #CFADE7

Accessibility & contrast

On white

4.89
#974FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#974FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974FCB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974FCB#FFFFFF#000000##FFFFFF
##974FCB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#8F6786
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #974fcb;
/* rgb */ color: rgb(151, 79, 203);
/* oklch */ color: oklch(57.1% 0.190 308.3);
Tailwind
colors: {
  custom: {
    50: '#b984db',
    500: '#974fcb',
    950: '#000000',
  },
}
SCSS
$custom: #974fcb;
$custom-light: #b984db;
$custom-dark: #000000;
JSON
{
  "hex": "#974fcb",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 274.839,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.18954,
    "h": 308.3
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#974FCB
secondary
#B7D5A1
accent
#DE4A88
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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