#8A7BCC#8A7BCC

#8A7BCC is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.0% C 0.120 H 291.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A7BCC
RGBrgb(138, 123, 204)
HSLhsl(251, 44%, 64%)
HSVhsv(251, 40%, 80%)
CMYKcmyk(32.4%, 39.7%, 0%, 20%)
CIE-LABlab(56.02, 24.09, -40.02)
CIE-LCHlch(56.02, 46.71, 301.05°)
OKLaboklab(63.03% 0.0431 -0.1121)
OKLCHoklch(63.03% 0.12 291.1)
XYZxyz(28.4605, 23.9282, 60.2342)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BCC #BDCC7B
analogous
#7B95CC #8A7BCC #B37BCC
triadic
#8A7BCC #CC8A7B #7BCC8A
tetradic
#8A7BCC #CC7B95 #BDCC7B #7BCCB3
square
#8A7BCC #CC7B95 #BDCC7B #7BCCB3
split-complementary
#8A7BCC #CCB37B #95CC7B
monochromatic
#4A3994 #634FBB #8A7BCC #B1A7DD #D8D3EE

Accessibility & contrast

On white

3.63
#8A7BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A7BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BCC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BCC#FFFFFF#000000##000000
##8A7BCC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#7A8A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7bcc;
/* rgb */ color: rgb(138, 123, 204);
/* oklch */ color: oklch(63.0% 0.120 291.1);
Tailwind
colors: {
  custom: {
    50: '#aea1dc',
    500: '#8a7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bcc;
$custom-light: #aea1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bcc",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 251.111,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.12009,
    "h": 291.1
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

primary
#8A7BCC
secondary
#DAE0C3
accent
#B72E9E
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #8A7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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