#8A74CF#8A74CF

#8A74CF is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.9% C 0.135 H 293.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A74CF
RGBrgb(138, 116, 207)
HSLhsl(255, 49%, 63%)
HSVhsv(255, 44%, 81%)
CMYKcmyk(33.3%, 44%, 0%, 18.8%)
CIE-LABlab(54.45, 28.99, -44.19)
CIE-LCHlch(54.45, 52.85, 303.26°)
OKLaboklab(61.89% 0.0532 -0.1242)
OKLCHoklch(61.89% 0.135 293.2)
XYZxyz(27.9862, 22.3985, 61.8682)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74CF #B9CF74
analogous
#748BCF #8A74CF #B774CF
triadic
#8A74CF #CF8A74 #74CF8A
tetradic
#8A74CF #CF748B #B9CF74 #74CFB7
square
#8A74CF #CF748B #B9CF74 #74CFB7
split-complementary
#8A74CF #CFB774 #8BCF74
monochromatic
#4B3395 #6447BF #8A74CF #B0A1DF #D7CFEE

Accessibility & contrast

On white

3.83
#8A74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8A74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74CF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74CF#FFFFFF#000000##000000
##8A74CF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a74cf;
/* rgb */ color: rgb(138, 116, 207);
/* oklch */ color: oklch(61.9% 0.135 293.2);
Tailwind
colors: {
  custom: {
    50: '#af9cde',
    500: '#8a74cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a74cf;
$custom-light: #af9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74cf",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 254.505,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.13511,
    "h": 293.2
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#8A74CF
secondary
#D8E0BF
accent
#BC2A99
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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