#8974EC#8974EC

#8974EC is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.5% C 0.174 H 288.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8974EC
RGBrgb(137, 116, 236)
HSLhsl(251, 76%, 69%)
HSVhsv(251, 51%, 93%)
CMYKcmyk(41.9%, 50.8%, 0%, 7.5%)
CIE-LABlab(55.95, 36.60, -58.11)
CIE-LCHlch(55.95, 68.68, 302.20°)
OKLaboklab(63.52% 0.0551 -0.165)
OKLCHoklch(63.52% 0.174 288.5)
XYZxyz(31.6980, 23.8642, 82.2767)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974EC #D7EC74
analogous
#749BEC #8974EC #C574EC
triadic
#8974EC #EC8974 #74EC89
tetradic
#8974EC #EC749B #D7EC74 #74ECC5
square
#8974EC #EC749B #D7EC74 #74ECC5
split-complementary
#8974EC #ECC574 #9BEC74
monochromatic
#3A1CCA #5B3EE5 #8974EC #B7AAF3 #E4E0FB

Accessibility & contrast

On white

3.64
#8974EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8974EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974EC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974EC#FFFFFF#000000##000000
##8974EC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#6C8DA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8974ec;
/* rgb */ color: rgb(137, 116, 236);
/* oklch */ color: oklch(63.5% 0.174 288.5);
Tailwind
colors: {
  custom: {
    50: '#b09cf3',
    500: '#8974ec',
    950: '#000000',
  },
}
SCSS
$custom: #8974ec;
$custom-light: #b09cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8974ec",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 250.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.17396,
    "h": 288.5
  },
  "luminance": 0.23865
}

Semantic roles & 50–950 ramp

primary
#8974EC
secondary
#E9EFCC
accent
#D80DB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974EC

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

Preview Lab → · Contrast checker → · Palette generator →

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