#8A7CD0#8A7CD0

#8A7CD0 is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.4% C 0.124 H 290.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A7CD0
RGBrgb(138, 124, 208)
HSLhsl(250, 47%, 65%)
HSVhsv(250, 40%, 82%)
CMYKcmyk(33.7%, 40.4%, 0%, 18.4%)
CIE-LABlab(56.46, 24.56, -41.58)
CIE-LCHlch(56.46, 48.30, 300.57°)
OKLaboklab(63.43% 0.0425 -0.1166)
OKLCHoklch(63.43% 0.124 290)
XYZxyz(29.0711, 24.3720, 62.8349)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CD0 #C2D07C
analogous
#7C98D0 #8A7CD0 #B47CD0
triadic
#8A7CD0 #D08A7C #7CD08A
tetradic
#8A7CD0 #D07C98 #C2D07C #7CD0B4
square
#8A7CD0 #D07C98 #C2D07C #7CD0B4
split-complementary
#8A7CD0 #D0B47C #98D07C
monochromatic
#48379A #624FC0 #8A7CD0 #B2A9E0 #DAD6F0

Accessibility & contrast

On white

3.57
#8A7CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A7CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CD0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CD0#FFFFFF#000000##000000
##8A7CD01.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D3
Deuteranopia (green-blind)
#6286CE
Tritanopia (blue-blind)
#798C9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7cd0;
/* rgb */ color: rgb(138, 124, 208);
/* oklch */ color: oklch(63.4% 0.124 290.0);
Tailwind
colors: {
  custom: {
    50: '#aea2df',
    500: '#8a7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cd0;
$custom-light: #aea2df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cd0",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 250,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63431,
    "c": 0.12414,
    "h": 290
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#8A7CD0
secondary
#DDE2C6
accent
#BA2BA3
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8A7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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