#8974CD#8974CD

#8974CD is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.7% C 0.132 H 293.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8974CD
RGBrgb(137, 116, 205)
HSLhsl(254, 47%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(33.2%, 43.4%, 0%, 19.6%)
CIE-LABlab(54.26, 28.19, -43.37)
CIE-LCHlch(54.26, 51.72, 303.02°)
OKLaboklab(61.69% 0.0516 -0.1218)
OKLCHoklch(61.69% 0.132 293)
XYZxyz(27.5785, 22.2164, 60.5810)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974CD #B8CD74
analogous
#748BCD #8974CD #B574CD
triadic
#8974CD #CD8974 #74CD89
tetradic
#8974CD #CD748B #B8CD74 #74CDB5
square
#8974CD #CD748B #B8CD74 #74CDB5
split-complementary
#8974CD #CDB574 #8BCD74
monochromatic
#4B3592 #6347BD #8974CD #AFA1DD #D5CEED

Accessibility & contrast

On white

3.86
#8974CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8974CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974CD#FFFFFF#000000##000000
##8974CD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#798597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8974cd;
/* rgb */ color: rgb(137, 116, 205);
/* oklch */ color: oklch(61.7% 0.132 293.0);
Tailwind
colors: {
  custom: {
    50: '#ae9cdc',
    500: '#8974cd',
    950: '#000000',
  },
}
SCSS
$custom: #8974cd;
$custom-light: #ae9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8974cd",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 254.157,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61691,
    "c": 0.13232,
    "h": 293
  },
  "luminance": 0.22217
}

Semantic roles & 50–950 ramp

primary
#8974CD
secondary
#D7DEBE
accent
#BA2B99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8974CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8974CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva