#8974DF#8974DF

#8974DF is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.157 H 290.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8974DF
RGBrgb(137, 116, 223)
HSLhsl(252, 63%, 66%)
HSVhsv(252, 48%, 87%)
CMYKcmyk(38.6%, 48%, 0%, 12.5%)
CIE-LABlab(55.21, 33.02, -52.02)
CIE-LCHlch(55.21, 61.61, 302.41°)
OKLaboklab(62.72% 0.054 -0.1471)
OKLCHoklch(62.72% 0.157 290.2)
XYZxyz(29.8776, 23.1360, 72.6892)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974DF #CADF74
analogous
#7495DF #8974DF #BF74DF
triadic
#8974DF #DF8974 #74DF89
tetradic
#8974DF #DF7495 #CADF74 #74DFBF
square
#8974DF #DF7495 #CADF74 #74DFBF
split-complementary
#8974DF #DFBF74 #95DF74
monochromatic
#4329B0 #5F42D4 #8974DF #B3A6EA #DDD7F6

Accessibility & contrast

On white

3.73
#8974DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8974DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974DF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974DF#FFFFFF#000000##000000
##8974DF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#4D82DD
Tritanopia (blue-blind)
#72899F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8974df;
/* rgb */ color: rgb(137, 116, 223);
/* oklch */ color: oklch(62.7% 0.157 290.2);
Tailwind
colors: {
  custom: {
    50: '#af9ce9',
    500: '#8974df',
    950: '#000000',
  },
}
SCSS
$custom: #8974df;
$custom-light: #af9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8974df",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 251.776,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.15672,
    "h": 290.2
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#8974DF
secondary
#E2E9C6
accent
#CA1BA8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8974DF

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

Preview Lab → · Contrast checker → · Palette generator →

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