#8A74DD#8A74DD

#8A74DD is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.154 H 290.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A74DD
RGBrgb(138, 116, 221)
HSLhsl(253, 61%, 66%)
HSVhsv(253, 48%, 87%)
CMYKcmyk(37.6%, 47.5%, 0%, 13.3%)
CIE-LABlab(55.19, 32.73, -50.92)
CIE-LCHlch(55.19, 60.53, 302.73°)
OKLaboklab(62.69% 0.055 -0.1439)
OKLCHoklch(62.69% 0.154 290.9)
XYZxyz(29.7743, 23.1137, 71.2853)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74DD #C7DD74
analogous
#7492DD #8A74DD #BE74DD
triadic
#8A74DD #DD8A74 #74DD8A
tetradic
#8A74DD #DD7492 #C7DD74 #74DDBE
square
#8A74DD #DD7492 #C7DD74 #74DDBE
split-complementary
#8A74DD #DDBE74 #92DD74
monochromatic
#452AAC #6143D1 #8A74DD #B3A5E9 #DDD6F5

Accessibility & contrast

On white

3.73
#8A74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74DD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74DD#FFFFFF#000000##000000
##8A74DD1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#75899E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a74dd;
/* rgb */ color: rgb(138, 116, 221);
/* oklch */ color: oklch(62.7% 0.154 290.9);
Tailwind
colors: {
  custom: {
    50: '#b09ce8',
    500: '#8a74dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a74dd;
$custom-light: #b09ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74dd",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 252.571,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62691,
    "c": 0.15404,
    "h": 290.9
  },
  "luminance": 0.23115
}

Semantic roles & 50–950 ramp

primary
#8A74DD
secondary
#E0E8C5
accent
#C81DA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A74DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8A74DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva