#8974DB#8974DB

#8974DB is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.5% C 0.151 H 290.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8974DB
RGBrgb(137, 116, 219)
HSLhsl(252, 59%, 66%)
HSVhsv(252, 47%, 86%)
CMYKcmyk(37.4%, 47%, 0%, 14.1%)
CIE-LABlab(54.99, 31.93, -50.12)
CIE-LCHlch(54.99, 59.42, 302.50°)
OKLaboklab(62.49% 0.0536 -0.1415)
OKLCHoklch(62.49% 0.151 290.7)
XYZxyz(29.3447, 22.9228, 69.8826)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974DB #C6DB74
analogous
#7492DB #8974DB #BC74DB
triadic
#8974DB #DB8974 #74DB89
tetradic
#8974DB #DB7492 #C6DB74 #74DBBC
square
#8974DB #DB7492 #C6DB74 #74DBBC
split-complementary
#8974DB #DBBC74 #92DB74
monochromatic
#452CA9 #6043CE #8974DB #B2A5E8 #DCD5F4

Accessibility & contrast

On white

3.76
#8974DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8974DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974DB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974DB#FFFFFF#000000##000000
##8974DB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DF
Deuteranopia (green-blind)
#5081D9
Tritanopia (blue-blind)
#74889D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8974db;
/* rgb */ color: rgb(137, 116, 219);
/* oklch */ color: oklch(62.5% 0.151 290.7);
Tailwind
colors: {
  custom: {
    50: '#af9ce7',
    500: '#8974db',
    950: '#000000',
  },
}
SCSS
$custom: #8974db;
$custom-light: #af9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8974db",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 252.233,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.15135,
    "h": 290.7
  },
  "luminance": 0.22924
}

Semantic roles & 50–950 ramp

primary
#8974DB
secondary
#E0E7C4
accent
#C61FA4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8974DB

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

Preview Lab → · Contrast checker → · Palette generator →

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