#8A74DC#8A74DC

#8A74DC is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.6% C 0.153 H 291.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A74DC
RGBrgb(138, 116, 220)
HSLhsl(253, 60%, 66%)
HSVhsv(253, 47%, 86%)
CMYKcmyk(37.3%, 47.3%, 0%, 13.7%)
CIE-LABlab(55.13, 32.46, -50.45)
CIE-LCHlch(55.13, 59.99, 302.75°)
OKLaboklab(62.63% 0.0549 -0.1425)
OKLCHoklch(62.63% 0.153 291.1)
XYZxyz(29.6414, 23.0606, 70.5857)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74DC #C6DC74
analogous
#7492DC #8A74DC #BE74DC
triadic
#8A74DC #DC8A74 #74DC8A
tetradic
#8A74DC #DC7492 #C6DC74 #74DCBE
square
#8A74DC #DC7492 #C6DC74 #74DCBE
split-complementary
#8A74DC #DCBE74 #92DC74
monochromatic
#462BAB #6143D0 #8A74DC #B3A5E8 #DCD6F5

Accessibility & contrast

On white

3.74
#8A74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74DC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74DC#FFFFFF#000000##000000
##8A74DC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#75899D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a74dc;
/* rgb */ color: rgb(138, 116, 220);
/* oklch */ color: oklch(62.6% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#b09ce7',
    500: '#8a74dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a74dc;
$custom-light: #b09ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74dc",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 252.692,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62632,
    "c": 0.15271,
    "h": 291.1
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#8A74DC
secondary
#E0E7C5
accent
#C71EA4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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