#974BD3#974BD3

#974BD3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.204 H 306.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#974BD3
RGBrgb(151, 75, 211)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 64%, 83%)
CMYKcmyk(28.4%, 64.5%, 0%, 17.3%)
CIE-LABlab(47.38, 55.61, -57.67)
CIE-LCHlch(47.38, 80.12, 313.96°)
OKLaboklab(57.06% 0.1218 -0.1632)
OKLCHoklch(57.06% 0.204 306.7)
XYZxyz(27.0340, 16.3149, 63.3403)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BD3 #87D34B
analogous
#534BD3 #974BD3 #D34BCB
triadic
#974BD3 #D3974B #4BD397
tetradic
#974BD3 #D3534B #87D34B #4BCBD3
square
#974BD3 #D3534B #87D34B #4BCBD3
split-complementary
#974BD3 #CBD34B #4BD353
monochromatic
#582083 #782CB5 #974BD3 #B37CDF #D0ADEB

Accessibility & contrast

On white

4.93
#974BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#974BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BD3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BD3#FFFFFF#000000##FFFFFF
##974BD31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#8D6888
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #974bd3;
/* rgb */ color: rgb(151, 75, 211);
/* oklch */ color: oklch(57.1% 0.204 306.7);
Tailwind
colors: {
  custom: {
    50: '#ba82e1',
    500: '#974bd3',
    950: '#000000',
  },
}
SCSS
$custom: #974bd3;
$custom-light: #ba82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#974bd3",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 273.529,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.20366,
    "h": 306.7
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#974BD3
secondary
#BAD9A1
accent
#E4448A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #974BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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