#8A7BCA#8A7BCA

#8A7BCA is a light, moderate violet. Relative luminance 0.238; OKLCH L 62.9% C 0.117 H 291.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A7BCA
RGBrgb(138, 123, 202)
HSLhsl(251, 43%, 64%)
HSVhsv(251, 39%, 79%)
CMYKcmyk(31.7%, 39.1%, 0%, 20.8%)
CIE-LABlab(55.92, 23.57, -39.03)
CIE-LCHlch(55.92, 45.60, 301.13°)
OKLaboklab(62.93% 0.0427 -0.1092)
OKLCHoklch(62.93% 0.117 291.4)
XYZxyz(28.2221, 23.8329, 58.9790)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BCA #BBCA7B
analogous
#7B93CA #8A7BCA #B17BCA
triadic
#8A7BCA #CA8A7B #7BCA8A
tetradic
#8A7BCA #CA7B93 #BBCA7B #7BCAB1
square
#8A7BCA #CA7B93 #BBCA7B #7BCAB1
split-complementary
#8A7BCA #CAB17B #93CA7B
monochromatic
#4A3A91 #634FB8 #8A7BCA #B1A7DC #D7D2ED

Accessibility & contrast

On white

3.64
#8A7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BCA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BCA#FFFFFF#000000##000000
##8A7BCA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CD
Deuteranopia (green-blind)
#6584C8
Tritanopia (blue-blind)
#7B8999
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7bca;
/* rgb */ color: rgb(138, 123, 202);
/* oklch */ color: oklch(62.9% 0.117 291.4);
Tailwind
colors: {
  custom: {
    50: '#aea1da',
    500: '#8a7bca',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bca;
$custom-light: #aea1da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bca",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 251.392,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62927,
    "c": 0.11728,
    "h": 291.4
  },
  "luminance": 0.23833
}

Semantic roles & 50–950 ramp

primary
#8A7BCA
secondary
#D9DEC2
accent
#B6309C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #8A7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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