#8A72BF#8A72BF

#8A72BF is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.7% C 0.116 H 297.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A72BF
RGBrgb(138, 114, 191)
HSLhsl(259, 38%, 60%)
HSVhsv(259, 40%, 75%)
CMYKcmyk(27.7%, 40.3%, 0%, 25.1%)
CIE-LABlab(53.17, 26.03, -37.09)
CIE-LCHlch(53.17, 45.31, 305.06°)
OKLaboklab(60.66% 0.0531 -0.1035)
OKLCHoklch(60.66% 0.116 297.2)
XYZxyz(25.9003, 21.1992, 52.0074)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72BF #A7BF72
analogous
#7281BF #8A72BF #B072BF
triadic
#8A72BF #BF8A72 #72BF8A
tetradic
#8A72BF #BF7281 #A7BF72 #72BFB0
square
#8A72BF #BF7281 #A7BF72 #72BFB0
split-complementary
#8A72BF #BFB072 #81BF72
monochromatic
#4E397E #694CA8 #8A72BF #AD9CD2 #D0C6E5

Accessibility & contrast

On white

4.01
#8A72BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A72BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72BF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72BF#FFFFFF#000000##000000
##8A72BF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#7F7F8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a72bf;
/* rgb */ color: rgb(138, 114, 191);
/* oklch */ color: oklch(60.7% 0.116 297.2);
Tailwind
colors: {
  custom: {
    50: '#ae9bd2',
    500: '#8a72bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a72bf;
$custom-light: #ae9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72bf",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 258.701,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.11638,
    "h": 297.2
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#8A72BF
secondary
#CCD5B8
accent
#CE5AAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A72BF

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

Preview Lab → · Contrast checker → · Palette generator →

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