#8A74CE#8A74CE

#8A74CE is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.8% C 0.134 H 293.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A74CE
RGBrgb(138, 116, 206)
HSLhsl(255, 48%, 63%)
HSVhsv(255, 44%, 81%)
CMYKcmyk(33%, 43.7%, 0%, 19.2%)
CIE-LABlab(54.40, 28.72, -43.71)
CIE-LCHlch(54.40, 52.30, 303.31°)
OKLaboklab(61.84% 0.053 -0.1228)
OKLCHoklch(61.84% 0.134 293.3)
XYZxyz(27.8644, 22.3498, 61.2264)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74CE #B8CE74
analogous
#748BCE #8A74CE #B774CE
triadic
#8A74CE #CE8A74 #74CE8A
tetradic
#8A74CE #CE748B #B8CE74 #74CEB7
square
#8A74CE #CE748B #B8CE74 #74CEB7
split-complementary
#8A74CE #CEB774 #8BCE74
monochromatic
#4B3494 #6447BE #8A74CE #B0A1DE #D6CEEE

Accessibility & contrast

On white

3.84
#8A74CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A74CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74CE#FFFFFF#000000##000000
##8A74CE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#5A81CC
Tritanopia (blue-blind)
#7A8597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a74ce;
/* rgb */ color: rgb(138, 116, 206);
/* oklch */ color: oklch(61.8% 0.134 293.3);
Tailwind
colors: {
  custom: {
    50: '#af9cdd',
    500: '#8a74ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a74ce;
$custom-light: #af9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74ce",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 254.667,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.13375,
    "h": 293.3
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#8A74CE
secondary
#D7DFBF
accent
#BB2A98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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