#8A72F1#8A72F1

#8A72F1 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.183 H 288.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A72F1
RGBrgb(138, 114, 241)
HSLhsl(251, 82%, 70%)
HSVhsv(251, 53%, 95%)
CMYKcmyk(42.7%, 52.7%, 0%, 5.5%)
CIE-LABlab(55.87, 39.37, -61.02)
CIE-LCHlch(55.87, 72.62, 302.83°)
OKLaboklab(63.57% 0.059 -0.1735)
OKLCHoklch(63.57% 0.183 288.8)
XYZxyz(32.3713, 23.7876, 86.0879)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F1 #D9F172
analogous
#7299F1 #8A72F1 #CA72F1
triadic
#8A72F1 #F18A72 #72F18A
tetradic
#8A72F1 #F17299 #D9F172 #72F1CA
square
#8A72F1 #F17299 #D9F172 #72F1CA
split-complementary
#8A72F1 #F1CA72 #99F172
monochromatic
#3915D4 #5C3AEB #8A72F1 #B8AAF7 #E6E1FC

Accessibility & contrast

On white

3.65
#8A72F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A72F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F1#FFFFFF#000000##000000
##8A72F11.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#3783EE
Tritanopia (blue-blind)
#6C8DA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a72f1;
/* rgb */ color: rgb(138, 114, 241);
/* oklch */ color: oklch(63.6% 0.183 288.8);
Tailwind
colors: {
  custom: {
    50: '#b29bf6',
    500: '#8a72f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f1;
$custom-light: #b29bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f1",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 251.339,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63574,
    "c": 0.18326,
    "h": 288.8
  },
  "luminance": 0.23789
}

Semantic roles & 50–950 ramp

primary
#8A72F1
secondary
#EBF2CD
accent
#DE07B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F1

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

Preview Lab → · Contrast checker → · Palette generator →

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