#8A7BCD#8A7BCD

#8A7BCD is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.1% C 0.121 H 290.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A7BCD
RGBrgb(138, 123, 205)
HSLhsl(251, 45%, 64%)
HSVhsv(251, 40%, 80%)
CMYKcmyk(32.7%, 40%, 0%, 19.6%)
CIE-LABlab(56.06, 24.36, -40.51)
CIE-LCHlch(56.06, 47.27, 301.02°)
OKLaboklab(63.08% 0.0433 -0.1135)
OKLCHoklch(63.08% 0.121 290.9)
XYZxyz(28.5808, 23.9763, 60.8678)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BCD #BECD7B
analogous
#7B95CD #8A7BCD #B37BCD
triadic
#8A7BCD #CD8A7B #7BCD8A
tetradic
#8A7BCD #CD7B95 #BECD7B #7BCDB3
square
#8A7BCD #CD7B95 #BECD7B #7BCDB3
split-complementary
#8A7BCD #CDB37B #95CD7B
monochromatic
#493895 #634FBC #8A7BCD #B1A7DE #D9D4EF

Accessibility & contrast

On white

3.62
#8A7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BCD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BCD#FFFFFF#000000##000000
##8A7BCD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#7A8A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7bcd;
/* rgb */ color: rgb(138, 123, 205);
/* oklch */ color: oklch(63.1% 0.121 290.9);
Tailwind
colors: {
  custom: {
    50: '#aea1dc',
    500: '#8a7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bcd;
$custom-light: #aea1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bcd",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 250.976,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.12148,
    "h": 290.9
  },
  "luminance": 0.23977
}

Semantic roles & 50–950 ramp

primary
#8A7BCD
secondary
#DBE0C4
accent
#B82D9F
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #8A7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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