#8974CF#8974CF

#8974CF is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.8% C 0.135 H 292.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8974CF
RGBrgb(137, 116, 207)
HSLhsl(254, 49%, 63%)
HSVhsv(254, 44%, 81%)
CMYKcmyk(33.8%, 44%, 0%, 18.8%)
CIE-LABlab(54.36, 28.72, -44.34)
CIE-LCHlch(54.36, 52.83, 302.93°)
OKLaboklab(61.8% 0.052 -0.1247)
OKLCHoklch(61.8% 0.135 292.6)
XYZxyz(27.8215, 22.3136, 61.8605)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974CF #BACF74
analogous
#748CCF #8974CF #B674CF
triadic
#8974CF #CF8974 #74CF89
tetradic
#8974CF #CF748C #BACF74 #74CFB6
square
#8974CF #CF748C #BACF74 #74CFB6
split-complementary
#8974CF #CFB674 #8CCF74
monochromatic
#4A3395 #6247BF #8974CF #B0A1DF #D6CFEE

Accessibility & contrast

On white

3.84
#8974CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8974CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974CF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974CF#FFFFFF#000000##000000
##8974CF1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#788597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8974cf;
/* rgb */ color: rgb(137, 116, 207);
/* oklch */ color: oklch(61.8% 0.135 292.6);
Tailwind
colors: {
  custom: {
    50: '#ae9cde',
    500: '#8974cf',
    950: '#000000',
  },
}
SCSS
$custom: #8974cf;
$custom-light: #ae9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8974cf",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 253.846,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.13506,
    "h": 292.6
  },
  "luminance": 0.22314
}

Semantic roles & 50–950 ramp

primary
#8974CF
secondary
#D8E0BF
accent
#BC2A9A
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8974CF

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

Preview Lab → · Contrast checker → · Palette generator →

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