#8A73E2#8A73E2

#8A73E2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.8% C 0.162 H 290.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A73E2
RGBrgb(138, 115, 226)
HSLhsl(252, 66%, 67%)
HSVhsv(252, 49%, 89%)
CMYKcmyk(38.9%, 49.1%, 0%, 11.4%)
CIE-LABlab(55.23, 34.67, -53.67)
CIE-LCHlch(55.23, 63.89, 302.86°)
OKLaboklab(62.81% 0.0568 -0.1519)
OKLCHoklch(62.81% 0.162 290.5)
XYZxyz(30.3357, 23.1549, 74.8078)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73E2 #CBE273
analogous
#7394E2 #8A73E2 #C173E2
triadic
#8A73E2 #E28A73 #73E28A
tetradic
#8A73E2 #E27394 #CBE273 #73E2C1
square
#8A73E2 #E27394 #CBE273 #73E2C1
split-complementary
#8A73E2 #E2C173 #94E273
monochromatic
#4326B5 #6040D7 #8A73E2 #B4A6ED #DFD8F7

Accessibility & contrast

On white

3.73
#8A73E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A73E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73E2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73E2#FFFFFF#000000##000000
##8A73E21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E6
Deuteranopia (green-blind)
#4982DF
Tritanopia (blue-blind)
#7389A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a73e2;
/* rgb */ color: rgb(138, 115, 226);
/* oklch */ color: oklch(62.8% 0.162 290.5);
Tailwind
colors: {
  custom: {
    50: '#b09bec',
    500: '#8a73e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a73e2;
$custom-light: #b09bec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73e2",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 252.432,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.16218,
    "h": 290.5
  },
  "luminance": 0.23156
}

Semantic roles & 50–950 ramp

primary
#8A73E2
secondary
#E3EAC7
accent
#CE18A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A73E2

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

Preview Lab → · Contrast checker → · Palette generator →

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