#8A7CCD#8A7CCD

#8A7CCD is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.3% C 0.120 H 290.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A7CCD
RGBrgb(138, 124, 205)
HSLhsl(250, 45%, 65%)
HSVhsv(250, 40%, 80%)
CMYKcmyk(32.7%, 39.5%, 0%, 19.6%)
CIE-LABlab(56.31, 23.77, -40.12)
CIE-LCHlch(56.31, 46.63, 300.65°)
OKLaboklab(63.27% 0.042 -0.1123)
OKLCHoklch(63.27% 0.12 290.5)
XYZxyz(28.7055, 24.2257, 60.9094)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CCD #BFCD7C
analogous
#7C97CD #8A7CCD #B27CCD
triadic
#8A7CCD #CD8A7C #7CCD8A
tetradic
#8A7CCD #CD7C97 #BFCD7C #7CCDB2
square
#8A7CCD #CD7C97 #BFCD7C #7CCDB2
split-complementary
#8A7CCD #CDB27C #97CD7C
monochromatic
#493996 #6250BC #8A7CCD #B2A8DE #D9D5EF

Accessibility & contrast

On white

3.59
#8A7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CCD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CCD#FFFFFF#000000##000000
##8A7CCD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#6485CB
Tritanopia (blue-blind)
#7A8B9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7ccd;
/* rgb */ color: rgb(138, 124, 205);
/* oklch */ color: oklch(63.3% 0.120 290.5);
Tailwind
colors: {
  custom: {
    50: '#aea2dc',
    500: '#8a7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ccd;
$custom-light: #aea2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ccd",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 250.37,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63273,
    "c": 0.11993,
    "h": 290.5
  },
  "luminance": 0.24226
}

Semantic roles & 50–950 ramp

primary
#8A7CCD
secondary
#DCE0C4
accent
#B82EA0
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #8A7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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