#974BBE#974BBE

#974BBE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.181 H 312.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#974BBE
RGBrgb(151, 75, 190)
HSLhsl(280, 47%, 52%)
HSVhsv(280, 61%, 75%)
CMYKcmyk(20.5%, 60.5%, 0%, 25.5%)
CIE-LABlab(46.08, 50.92, -47.64)
CIE-LCHlch(46.08, 69.73, 316.91°)
OKLaboklab(55.7% 0.1225 -0.1338)
OKLCHoklch(55.7% 0.181 312.5)
XYZxyz(24.5712, 15.3298, 50.3698)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BBE #72BE4B
analogous
#5E4BBE #974BBE #BE4BAC
triadic
#974BBE #BE974B #4BBE97
tetradic
#974BBE #BE5E4B #72BE4B #4BACBE
square
#974BBE #BE5E4B #72BE4B #4BACBE
split-complementary
#974BBE #ACBE4B #4BBE5E
monochromatic
#522669 #753696 #974BBE #B178CE #CBA5DE

Accessibility & contrast

On white

5.17
#974BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#974BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974BBE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BBE#FFFFFF#000000##FFFFFF
##974BBE1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#436FBB
Tritanopia (blue-blind)
#93607D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974bbe;
/* rgb */ color: rgb(151, 75, 190);
/* oklch */ color: oklch(55.7% 0.181 312.5);
Tailwind
colors: {
  custom: {
    50: '#b981d2',
    500: '#974bbe',
    950: '#000000',
  },
}
SCSS
$custom: #974bbe;
$custom-light: #b981d2;
$custom-dark: #000000;
JSON
{
  "hex": "#974bbe",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 279.652,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.18144,
    "h": 312.5
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#974BBE
secondary
#AACC99
accent
#D7517E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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