#8A72DF#8A72DF

#8A72DF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.5% C 0.160 H 291.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A72DF
RGBrgb(138, 114, 223)
HSLhsl(253, 63%, 66%)
HSVhsv(253, 49%, 87%)
CMYKcmyk(38.1%, 48.9%, 0%, 12.5%)
CIE-LABlab(54.83, 34.43, -52.62)
CIE-LCHlch(54.83, 62.89, 303.20°)
OKLaboklab(62.46% 0.0577 -0.1489)
OKLCHoklch(62.46% 0.16 291.2)
XYZxyz(29.8142, 22.7648, 72.6209)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72DF #C7DF72
analogous
#7290DF #8A72DF #C072DF
triadic
#8A72DF #DF8A72 #72DF8A
tetradic
#8A72DF #DF7290 #C7DF72 #72DFC0
square
#8A72DF #DF7290 #C7DF72 #72DFC0
split-complementary
#8A72DF #DFC072 #90DF72
monochromatic
#4528AF #6140D4 #8A72DF #B3A4EA #DDD6F6

Accessibility & contrast

On white

3.78
#8A72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72DF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72DF#FFFFFF#000000##000000
##8A72DF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#4B81DC
Tritanopia (blue-blind)
#74889E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a72df;
/* rgb */ color: rgb(138, 114, 223);
/* oklch */ color: oklch(62.5% 0.160 291.2);
Tailwind
colors: {
  custom: {
    50: '#b09be9',
    500: '#8a72df',
    950: '#000000',
  },
}
SCSS
$custom: #8a72df;
$custom-light: #b09be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72df",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 253.211,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.15968,
    "h": 291.2
  },
  "luminance": 0.22766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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