#8A72CB#8A72CB

#8A72CB is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.133 H 294.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A72CB
RGBrgb(138, 114, 203)
HSLhsl(256, 46%, 62%)
HSVhsv(256, 44%, 80%)
CMYKcmyk(32%, 43.8%, 0%, 20.4%)
CIE-LABlab(53.76, 29.11, -43.01)
CIE-LCHlch(53.76, 51.93, 304.09°)
OKLaboklab(61.31% 0.0552 -0.1208)
OKLCHoklch(61.31% 0.133 294.6)
XYZxyz(27.2753, 21.7493, 59.2493)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72CB #B3CB72
analogous
#7287CB #8A72CB #B772CB
triadic
#8A72CB #CB8A72 #72CB8A
tetradic
#8A72CB #CB7287 #B3CB72 #72CBB7
square
#8A72CB #CB7287 #B3CB72 #72CBB7
split-complementary
#8A72CB #CBB772 #87CB72
monochromatic
#4D348E #6545BB #8A72CB #AF9FDB #D4CBEC

Accessibility & contrast

On white

3.93
#8A72CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72CB#FFFFFF#000000##000000
##8A72CB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#7B8295
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a72cb;
/* rgb */ color: rgb(138, 114, 203);
/* oklch */ color: oklch(61.3% 0.133 294.6);
Tailwind
colors: {
  custom: {
    50: '#ae9bdb',
    500: '#8a72cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a72cb;
$custom-light: #ae9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72cb",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 256.18,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.13279,
    "h": 294.6
  },
  "luminance": 0.2175
}

Semantic roles & 50–950 ramp

primary
#8A72CB
secondary
#D4DDBC
accent
#B92C93
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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