#8A74E4#8A74E4

#8A74E4 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.1% C 0.163 H 289.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A74E4
RGBrgb(138, 116, 228)
HSLhsl(252, 67%, 67%)
HSVhsv(252, 49%, 89%)
CMYKcmyk(39.5%, 49.1%, 0%, 10.6%)
CIE-LABlab(55.58, 34.63, -54.23)
CIE-LCHlch(55.58, 64.35, 302.56°)
OKLaboklab(63.11% 0.0557 -0.1536)
OKLCHoklch(63.11% 0.163 289.9)
XYZxyz(30.7264, 23.4946, 76.2997)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74E4 #CEE474
analogous
#7496E4 #8A74E4 #C274E4
triadic
#8A74E4 #E48A74 #74E48A
tetradic
#8A74E4 #E47496 #CEE474 #74E4C2
square
#8A74E4 #E47496 #CEE474 #74E4C2
split-complementary
#8A74E4 #E4C274 #96E474
monochromatic
#4124BA #5F41DA #8A74E4 #B5A7EE #E0DAF8

Accessibility & contrast

On white

3.68
#8A74E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A74E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74E4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74E4#FFFFFF#000000##000000
##8A74E41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#4983E1
Tritanopia (blue-blind)
#728BA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a74e4;
/* rgb */ color: rgb(138, 116, 228);
/* oklch */ color: oklch(63.1% 0.163 289.9);
Tailwind
colors: {
  custom: {
    50: '#b09ced',
    500: '#8a74e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a74e4;
$custom-light: #b09ced;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74e4",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 251.786,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.16338,
    "h": 289.9
  },
  "luminance": 0.23495
}

Semantic roles & 50–950 ramp

primary
#8A74E4
secondary
#E5EBC8
accent
#CF16AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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