#974BBF#974BBF

#974BBF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.182 H 312.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#974BBF
RGBrgb(151, 75, 191)
HSLhsl(279, 48%, 52%)
HSVhsv(279, 61%, 75%)
CMYKcmyk(20.9%, 60.7%, 0%, 25.1%)
CIE-LABlab(46.14, 51.14, -48.13)
CIE-LCHlch(46.14, 70.22, 316.74°)
OKLaboklab(55.76% 0.1225 -0.1353)
OKLCHoklch(55.76% 0.183 312.2)
XYZxyz(24.6809, 15.3737, 50.9474)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974BBF #73BF4B
analogous
#5D4BBF #974BBF #BF4BAD
triadic
#974BBF #BF974B #4BBF97
tetradic
#974BBF #BF5D4B #73BF4B #4BADBF
square
#974BBF #BF5D4B #73BF4B #4BADBF
split-complementary
#974BBF #ADBF4B #4BBF5D
monochromatic
#52266A #763697 #974BBF #B178CF #CBA5DF

Accessibility & contrast

On white

5.15
#974BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #974BBF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974BBF#FFFFFF#000000##FFFFFF
##974BBF1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#93607E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #974bbf;
/* rgb */ color: rgb(151, 75, 191);
/* oklch */ color: oklch(55.8% 0.182 312.2);
Tailwind
colors: {
  custom: {
    50: '#b981d3',
    500: '#974bbf',
    950: '#000000',
  },
}
SCSS
$custom: #974bbf;
$custom-light: #b981d3;
$custom-dark: #000000;
JSON
{
  "hex": "#974bbf",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 279.31,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.1825,
    "h": 312.2
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#974BBF
secondary
#ABCC9A
accent
#D7517F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #974BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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