#974BCE#974BCE

#974BCE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.198 H 308.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#974BCE
RGBrgb(151, 75, 206)
HSLhsl(275, 57%, 55%)
HSVhsv(275, 64%, 81%)
CMYKcmyk(26.7%, 63.6%, 0%, 19.2%)
CIE-LABlab(47.06, 54.47, -55.32)
CIE-LCHlch(47.06, 77.64, 314.56°)
OKLaboklab(56.73% 0.1221 -0.1563)
OKLCHoklch(56.73% 0.198 308)
XYZxyz(26.4169, 16.0681, 60.0904)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BCE #82CE4B
analogous
#554BCE #974BCE #CE4BC4
triadic
#974BCE #CE974B #4BCE97
tetradic
#974BCE #CE554B #82CE4B #4BC4CE
square
#974BCE #CE554B #82CE4B #4BC4CE
split-complementary
#974BCE #C4CE4B #4BCE55
monochromatic
#57227D #782FAD #974BCE #B37BDB #CFABE8

Accessibility & contrast

On white

4.98
#974BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#974BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BCE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BCE#FFFFFF#000000##FFFFFF
##974BCE1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#8F6686
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974bce;
/* rgb */ color: rgb(151, 75, 206);
/* oklch */ color: oklch(56.7% 0.198 308.0);
Tailwind
colors: {
  custom: {
    50: '#b982de',
    500: '#974bce',
    950: '#000000',
  },
}
SCSS
$custom: #974bce;
$custom-light: #b982de;
$custom-dark: #000000;
JSON
{
  "hex": "#974bce",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 274.809,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.19836,
    "h": 308
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#974BCE
secondary
#B6D69F
accent
#E04788
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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