#8A72DE#8A72DE

#8A72DE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.4% C 0.158 H 291.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A72DE
RGBrgb(138, 114, 222)
HSLhsl(253, 62%, 66%)
HSVhsv(253, 49%, 87%)
CMYKcmyk(37.8%, 48.6%, 0%, 12.9%)
CIE-LABlab(54.77, 34.16, -52.15)
CIE-LCHlch(54.77, 62.34, 303.23°)
OKLaboklab(62.4% 0.0576 -0.1475)
OKLCHoklch(62.4% 0.158 291.3)
XYZxyz(29.6798, 22.7110, 71.9130)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72DE #C6DE72
analogous
#7290DE #8A72DE #C072DE
triadic
#8A72DE #DE8A72 #72DE8A
tetradic
#8A72DE #DE7290 #C6DE72 #72DEC0
square
#8A72DE #DE7290 #C6DE72 #72DEC0
split-complementary
#8A72DE #DEC072 #90DE72
monochromatic
#4629AD #6140D2 #8A72DE #B3A4EA #DCD5F5

Accessibility & contrast

On white

3.79
#8A72DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A72DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72DE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72DE#FFFFFF#000000##000000
##8A72DE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E2
Deuteranopia (green-blind)
#4C81DB
Tritanopia (blue-blind)
#74889D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a72de;
/* rgb */ color: rgb(138, 114, 222);
/* oklch */ color: oklch(62.4% 0.158 291.3);
Tailwind
colors: {
  custom: {
    50: '#b09be9',
    500: '#8a72de',
    950: '#000000',
  },
}
SCSS
$custom: #8a72de;
$custom-light: #b09be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72de",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 253.333,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62397,
    "c": 0.15834,
    "h": 291.3
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#8A72DE
secondary
#E0E8C4
accent
#CA1CA3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72DE

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

Preview Lab → · Contrast checker → · Palette generator →

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