#8A72E2#8A72E2

#8A72E2 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.164 H 290.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A72E2
RGBrgb(138, 114, 226)
HSLhsl(253, 66%, 67%)
HSVhsv(253, 50%, 89%)
CMYKcmyk(38.9%, 49.6%, 0%, 11.4%)
CIE-LABlab(55.00, 35.24, -54.04)
CIE-LCHlch(55.00, 64.52, 303.11°)
OKLaboklab(62.64% 0.058 -0.153)
OKLCHoklch(62.64% 0.164 290.8)
XYZxyz(30.2223, 22.9280, 74.7700)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72E2 #CAE272
analogous
#7292E2 #8A72E2 #C272E2
triadic
#8A72E2 #E28A72 #72E28A
tetradic
#8A72E2 #E27292 #CAE272 #72E2C2
square
#8A72E2 #E27292 #CAE272 #72E2C2
split-complementary
#8A72E2 #E2C272 #92E272
monochromatic
#4425B4 #603FD8 #8A72E2 #B4A5EC #DED8F7

Accessibility & contrast

On white

3.76
#8A72E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A72E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72E2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72E2#FFFFFF#000000##000000
##8A72E21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E6
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#73899F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a72e2;
/* rgb */ color: rgb(138, 114, 226);
/* oklch */ color: oklch(62.6% 0.164 290.8);
Tailwind
colors: {
  custom: {
    50: '#b09bec',
    500: '#8a72e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a72e2;
$custom-light: #b09bec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72e2",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 252.857,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62638,
    "c": 0.16365,
    "h": 290.8
  },
  "luminance": 0.22929
}

Semantic roles & 50–950 ramp

primary
#8A72E2
secondary
#E2EAC6
accent
#CE18A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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