#8A74ED#8A74ED

#8A74ED is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.7% C 0.175 H 288.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A74ED
RGBrgb(138, 116, 237)
HSLhsl(251, 77%, 69%)
HSVhsv(251, 51%, 93%)
CMYKcmyk(41.8%, 51.1%, 0%, 7.1%)
CIE-LABlab(56.10, 37.11, -58.43)
CIE-LCHlch(56.10, 69.22, 302.42°)
OKLaboklab(63.66% 0.0564 -0.1659)
OKLCHoklch(63.66% 0.175 288.8)
XYZxyz(32.0084, 24.0074, 83.0517)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74ED #D7ED74
analogous
#749BED #8A74ED #C774ED
triadic
#8A74ED #ED8A74 #74ED8A
tetradic
#8A74ED #ED749B #D7ED74 #74EDC7
square
#8A74ED #ED749B #D7ED74 #74EDC7
split-complementary
#8A74ED #EDC774 #9BED74
monochromatic
#3B1ACC #5C3EE6 #8A74ED #B8AAF4 #E5E0FB

Accessibility & contrast

On white

3.62
#8A74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74ED
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74ED#FFFFFF#000000##000000
##8A74ED1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#6D8DA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a74ed;
/* rgb */ color: rgb(138, 116, 237);
/* oklch */ color: oklch(63.7% 0.175 288.8);
Tailwind
colors: {
  custom: {
    50: '#b19cf3',
    500: '#8a74ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a74ed;
$custom-light: #b19cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74ed",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 250.909,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63662,
    "c": 0.17524,
    "h": 288.8
  },
  "luminance": 0.24008
}

Semantic roles & 50–950 ramp

primary
#8A74ED
secondary
#EAF0CD
accent
#D90CB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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