#8A7CCE#8A7CCE

#8A7CCE is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.3% C 0.121 H 290.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A7CCE
RGBrgb(138, 124, 206)
HSLhsl(250, 46%, 65%)
HSVhsv(250, 40%, 81%)
CMYKcmyk(33%, 39.8%, 0%, 19.2%)
CIE-LABlab(56.36, 24.03, -40.61)
CIE-LCHlch(56.36, 47.18, 300.62°)
OKLaboklab(63.33% 0.0422 -0.1138)
OKLCHoklch(63.33% 0.121 290.3)
XYZxyz(28.8266, 24.2742, 61.5472)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CCE #C0CE7C
analogous
#7C97CE #8A7CCE #B37CCE
triadic
#8A7CCE #CE8A7C #7CCE8A
tetradic
#8A7CCE #CE7C97 #C0CE7C #7CCEB3
square
#8A7CCE #CE7C97 #C0CE7C #7CCEB3
split-complementary
#8A7CCE #CEB37C #97CE7C
monochromatic
#493997 #624FBD #8A7CCE #B2A9DF #DAD5EF

Accessibility & contrast

On white

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

On black

5.86
#8A7CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CCE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CCE#FFFFFF#000000##000000
##8A7CCE1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D1
Deuteranopia (green-blind)
#6485CC
Tritanopia (blue-blind)
#7A8B9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7cce;
/* rgb */ color: rgb(138, 124, 206);
/* oklch */ color: oklch(63.3% 0.121 290.3);
Tailwind
colors: {
  custom: {
    50: '#aea2dd',
    500: '#8a7cce',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cce;
$custom-light: #aea2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cce",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 250.244,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63325,
    "c": 0.12134,
    "h": 290.3
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

primary
#8A7CCE
secondary
#DCE1C5
accent
#B92DA1
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #8A7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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