#8A72DB#8A72DB

#8A72DB is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.2% C 0.154 H 291.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A72DB
RGBrgb(138, 114, 219)
HSLhsl(254, 59%, 65%)
HSVhsv(254, 48%, 86%)
CMYKcmyk(37%, 47.9%, 0%, 14.1%)
CIE-LABlab(54.61, 33.35, -50.72)
CIE-LCHlch(54.61, 60.70, 303.32°)
OKLaboklab(62.22% 0.0573 -0.1433)
OKLCHoklch(62.22% 0.154 291.8)
XYZxyz(29.2813, 22.5517, 69.8143)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72DB #C3DB72
analogous
#728FDB #8A72DB #BE72DB
triadic
#8A72DB #DB8A72 #72DB8A
tetradic
#8A72DB #DB728F #C3DB72 #72DBBE
square
#8A72DB #DB728F #C3DB72 #72DBBE
split-complementary
#8A72DB #DBBE72 #8FDB72
monochromatic
#472BA8 #6241CF #8A72DB #B2A3E7 #DBD4F4

Accessibility & contrast

On white

3.81
#8A72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72DB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72DB#FFFFFF#000000##000000
##8A72DB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#76879C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a72db;
/* rgb */ color: rgb(138, 114, 219);
/* oklch */ color: oklch(62.2% 0.154 291.8);
Tailwind
colors: {
  custom: {
    50: '#b09be7',
    500: '#8a72db',
    950: '#000000',
  },
}
SCSS
$custom: #8a72db;
$custom-light: #b09be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72db",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 253.714,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62219,
    "c": 0.15436,
    "h": 291.8
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#8A72DB
secondary
#DEE6C3
accent
#C71FA0
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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