#8974CC#8974CC

#8974CC is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.6% C 0.131 H 293.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8974CC
RGBrgb(137, 116, 204)
HSLhsl(254, 46%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(32.8%, 43.1%, 0%, 20%)
CIE-LABlab(54.21, 27.92, -42.88)
CIE-LCHlch(54.21, 51.17, 303.07°)
OKLaboklab(61.64% 0.0515 -0.1204)
OKLCHoklch(61.64% 0.131 293.1)
XYZxyz(27.4582, 22.1683, 59.9473)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974CC #B7CC74
analogous
#748BCC #8974CC #B574CC
triadic
#8974CC #CC8974 #74CC89
tetradic
#8974CC #CC748B #B7CC74 #74CCB5
square
#8974CC #CC748B #B7CC74 #74CCB5
split-complementary
#8974CC #CCB574 #8BCC74
monochromatic
#4B3591 #6347BC #8974CC #AFA1DC #D5CEED

Accessibility & contrast

On white

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

On black

5.43
#8974CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974CC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974CC#FFFFFF#000000##000000
##8974CC1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#798496
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8974cc;
/* rgb */ color: rgb(137, 116, 204);
/* oklch */ color: oklch(61.6% 0.131 293.1);
Tailwind
colors: {
  custom: {
    50: '#ae9cdc',
    500: '#8974cc',
    950: '#000000',
  },
}
SCSS
$custom: #8974cc;
$custom-light: #ae9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8974cc",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 254.318,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.13095,
    "h": 293.1
  },
  "luminance": 0.22169
}

Semantic roles & 50–950 ramp

primary
#8974CC
secondary
#D6DEBE
accent
#BA2C98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8974CC

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

Preview Lab → · Contrast checker → · Palette generator →

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