#8A72B2#8A72B2

#8A72B2 is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.0% C 0.098 H 300.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A72B2
RGBrgb(138, 114, 178)
HSLhsl(263, 29%, 57%)
HSVhsv(263, 36%, 70%)
CMYKcmyk(22.5%, 36%, 0%, 30.2%)
CIE-LABlab(52.57, 22.80, -30.54)
CIE-LCHlch(52.57, 38.12, 306.75°)
OKLaboklab(60.01% 0.0503 -0.0847)
OKLCHoklch(60.01% 0.098 300.7)
XYZxyz(24.5327, 20.6522, 44.8047)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72B2 #9AB272
analogous
#727AB2 #8A72B2 #AA72B2
triadic
#8A72B2 #B28A72 #72B28A
tetradic
#8A72B2 #B2727A #9AB272 #72B2AA
square
#8A72B2 #B2727A #9AB272 #72B2AA
split-complementary
#8A72B2 #B2AA72 #7AB272
monochromatic
#4F3C6E #6B5295 #8A72B2 #AB9AC8 #CCC1DD

Accessibility & contrast

On white

4.09
#8A72B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A72B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72B2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72B2#FFFFFF#000000##000000
##8A72B21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#837C8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a72b2;
/* rgb */ color: rgb(138, 114, 178);
/* oklch */ color: oklch(60.0% 0.098 300.7);
Tailwind
colors: {
  custom: {
    50: '#ad9ac9',
    500: '#8a72b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a72b2;
$custom-light: #ad9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72b2",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 262.5,
    "s": 29.358,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6001,
    "c": 0.09849,
    "h": 300.7
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#8A72B2
secondary
#C3CDB3
accent
#C662A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A72B2

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

Preview Lab → · Contrast checker → · Palette generator →

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