#8A72CF#8A72CF

#8A72CF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.5% C 0.138 H 293.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A72CF
RGBrgb(138, 114, 207)
HSLhsl(255, 49%, 63%)
HSVhsv(255, 45%, 81%)
CMYKcmyk(33.3%, 44.9%, 0%, 18.8%)
CIE-LABlab(53.97, 30.16, -44.95)
CIE-LCHlch(53.97, 54.13, 303.85°)
OKLaboklab(61.53% 0.0558 -0.1264)
OKLCHoklch(61.53% 0.138 293.8)
XYZxyz(27.7582, 21.9424, 61.7922)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72CF #B7CF72
analogous
#7288CF #8A72CF #B872CF
triadic
#8A72CF #CF8A72 #72CF8A
tetradic
#8A72CF #CF7288 #B7CF72 #72CFB8
square
#8A72CF #CF7288 #B7CF72 #72CFB8
split-complementary
#8A72CF #CFB872 #88CF72
monochromatic
#4C3294 #6444BF #8A72CF #B0A0DF #D6CDEE

Accessibility & contrast

On white

3.90
#8A72CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72CF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72CF#FFFFFF#000000##000000
##8A72CF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#7A8396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a72cf;
/* rgb */ color: rgb(138, 114, 207);
/* oklch */ color: oklch(61.5% 0.138 293.8);
Tailwind
colors: {
  custom: {
    50: '#af9bde',
    500: '#8a72cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a72cf;
$custom-light: #af9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72cf",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 255.484,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.13822,
    "h": 293.8
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#8A72CF
secondary
#D6DFBE
accent
#BD2996
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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