#974BD2#974BD2

#974BD2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.203 H 307.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#974BD2
RGBrgb(151, 75, 210)
HSLhsl(274, 60%, 56%)
HSVhsv(274, 64%, 82%)
CMYKcmyk(28.1%, 64.3%, 0%, 17.6%)
CIE-LABlab(47.32, 55.38, -57.20)
CIE-LCHlch(47.32, 79.62, 314.07°)
OKLaboklab(56.99% 0.1218 -0.1619)
OKLCHoklch(56.99% 0.203 307)
XYZxyz(26.9090, 16.2649, 62.6821)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BD2 #86D24B
analogous
#534BD2 #974BD2 #D24BC9
triadic
#974BD2 #D2974B #4BD297
tetradic
#974BD2 #D2534B #86D24B #4BC9D2
square
#974BD2 #D2534B #86D24B #4BC9D2
split-complementary
#974BD2 #C9D24B #4BD253
monochromatic
#572182 #782DB3 #974BD2 #B37CDE #D0ADEA

Accessibility & contrast

On white

4.94
#974BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#974BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BD2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BD2#FFFFFF#000000##FFFFFF
##974BD21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#8D6788
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974bd2;
/* rgb */ color: rgb(151, 75, 210);
/* oklch */ color: oklch(57.0% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#ba82e0',
    500: '#974bd2',
    950: '#000000',
  },
}
SCSS
$custom: #974bd2;
$custom-light: #ba82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#974bd2",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 273.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.2026,
    "h": 307
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#974BD2
secondary
#B9D8A0
accent
#E3458A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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