#974BDC#974BDC

#974BDC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.213 H 304.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#974BDC
RGBrgb(151, 75, 220)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 66%, 86%)
CMYKcmyk(31.4%, 65.9%, 0%, 13.7%)
CIE-LABlab(47.98, 57.68, -61.85)
CIE-LCHlch(47.98, 84.57, 313.00°)
OKLaboklab(57.68% 0.121 -0.1755)
OKLCHoklch(57.68% 0.213 304.6)
XYZxyz(28.1939, 16.7789, 69.4496)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BDC #90DC4B
analogous
#4E4BDC #974BDC #DC4BD9
triadic
#974BDC #DC974B #4BDC97
tetradic
#974BDC #DC4E4B #90DC4B #4BD9DC
square
#974BDC #DC4E4B #90DC4B #4BD9DC
split-complementary
#974BDC #D9DC4B #4BDC4E
monochromatic
#591C91 #7926C4 #974BDC #B57EE6 #D2B1F0

Accessibility & contrast

On white

4.82
#974BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#974BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BDC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BDC#FFFFFF#000000##FFFFFF
##974BDC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#8A6B8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #974bdc;
/* rgb */ color: rgb(151, 75, 220);
/* oklch */ color: oklch(57.7% 0.213 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba82e8',
    500: '#974bdc',
    950: '#000000',
  },
}
SCSS
$custom: #974bdc;
$custom-light: #ba82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#974bdc",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 271.448,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.21319,
    "h": 304.6
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#974BDC
secondary
#C0DEA4
accent
#EA3D90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #974BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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