#974BCD#974BCD

#974BCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.7% C 0.197 H 308.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#974BCD
RGBrgb(151, 75, 205)
HSLhsl(275, 57%, 55%)
HSVhsv(275, 63%, 80%)
CMYKcmyk(26.3%, 63.4%, 0%, 19.6%)
CIE-LABlab(47.00, 54.25, -54.85)
CIE-LCHlch(47.00, 77.14, 314.69°)
OKLaboklab(56.66% 0.1222 -0.155)
OKLCHoklch(56.66% 0.197 308.2)
XYZxyz(26.2958, 16.0196, 59.4526)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BCD #81CD4B
analogous
#564BCD #974BCD #CD4BC2
triadic
#974BCD #CD974B #4BCD97
tetradic
#974BCD #CD564B #81CD4B #4BC2CD
square
#974BCD #CD564B #81CD4B #4BC2CD
split-complementary
#974BCD #C2CD4B #4BCD56
monochromatic
#56227B #7830AB #974BCD #B37BDA #CEABE8

Accessibility & contrast

On white

5.00
#974BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#974BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BCD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BCD#FFFFFF#000000##FFFFFF
##974BCD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#8F6585
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #974bcd;
/* rgb */ color: rgb(151, 75, 205);
/* oklch */ color: oklch(56.7% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#b982dd',
    500: '#974bcd',
    950: '#000000',
  },
}
SCSS
$custom: #974bcd;
$custom-light: #b982dd;
$custom-dark: #000000;
JSON
{
  "hex": "#974bcd",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 275.077,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.19732,
    "h": 308.2
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

primary
#974BCD
secondary
#B5D59F
accent
#E04887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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