#8A74DA#8A74DA

#8A74DA is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.5% C 0.150 H 291.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A74DA
RGBrgb(138, 116, 218)
HSLhsl(253, 58%, 65%)
HSVhsv(253, 47%, 85%)
CMYKcmyk(36.7%, 46.8%, 0%, 14.5%)
CIE-LABlab(55.03, 31.92, -49.49)
CIE-LCHlch(55.03, 58.89, 302.82°)
OKLaboklab(62.52% 0.0547 -0.1397)
OKLCHoklch(62.52% 0.15 291.4)
XYZxyz(29.3781, 22.9553, 69.1990)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74DA #C4DA74
analogous
#7491DA #8A74DA #BD74DA
triadic
#8A74DA #DA8A74 #74DA8A
tetradic
#8A74DA #DA7491 #C4DA74 #74DABD
square
#8A74DA #DA7491 #C4DA74 #74DABD
split-complementary
#8A74DA #DABD74 #91DA74
monochromatic
#472CA7 #6144CD #8A74DA #B3A4E7 #DBD5F4

Accessibility & contrast

On white

3.76
#8A74DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A74DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74DA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74DA#FFFFFF#000000##000000
##8A74DA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DE
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#76889D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a74da;
/* rgb */ color: rgb(138, 116, 218);
/* oklch */ color: oklch(62.5% 0.150 291.4);
Tailwind
colors: {
  custom: {
    50: '#b09ce6',
    500: '#8a74da',
    950: '#000000',
  },
}
SCSS
$custom: #8a74da;
$custom-light: #b09ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74da",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 252.941,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.15001,
    "h": 291.4
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#8A74DA
secondary
#DFE6C4
accent
#C620A2
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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