#8974EF#8974EF

#8974EF is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.7% C 0.178 H 288.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8974EF
RGBrgb(137, 116, 239)
HSLhsl(250, 79%, 70%)
HSVhsv(250, 51%, 94%)
CMYKcmyk(42.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(56.13, 37.44, -59.50)
CIE-LCHlch(56.13, 70.30, 302.18°)
OKLaboklab(63.7% 0.0553 -0.1691)
OKLCHoklch(63.7% 0.178 288.1)
XYZxyz(32.1375, 24.0400, 84.5915)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974EF #DAEF74
analogous
#749DEF #8974EF #C774EF
triadic
#8974EF #EF8974 #74EF89
tetradic
#8974EF #EF749D #DAEF74 #74EFC7
square
#8974EF #EF749D #DAEF74 #74EFC7
split-complementary
#8974EF #EFC774 #9DEF74
monochromatic
#3818D1 #5A3DE9 #8974EF #B8ABF5 #E6E2FC

Accessibility & contrast

On white

3.62
#8974EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8974EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974EF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974EF#FFFFFF#000000##000000
##8974EF1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F3
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#6B8EA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8974ef;
/* rgb */ color: rgb(137, 116, 239);
/* oklch */ color: oklch(63.7% 0.178 288.1);
Tailwind
colors: {
  custom: {
    50: '#b19cf5',
    500: '#8974ef',
    950: '#000000',
  },
}
SCSS
$custom: #8974ef;
$custom-light: #b19cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8974ef",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 250.244,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63703,
    "c": 0.17789,
    "h": 288.1
  },
  "luminance": 0.24041
}

Semantic roles & 50–950 ramp

primary
#8974EF
secondary
#EBF1CE
accent
#DC0AB8
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974EF

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

Preview Lab → · Contrast checker → · Palette generator →

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