#8A7CBC#8A7CBC

#8A7CBC is a light, moderate violet. Relative luminance 0.234; OKLCH L 62.4% C 0.096 H 293.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A7CBC
RGBrgb(138, 124, 188)
HSLhsl(253, 32%, 61%)
HSVhsv(253, 34%, 74%)
CMYKcmyk(26.6%, 34%, 0%, 26.3%)
CIE-LABlab(55.53, 19.40, -31.67)
CIE-LCHlch(55.53, 37.14, 301.49°)
OKLaboklab(62.42% 0.0382 -0.0879)
OKLCHoklch(62.42% 0.096 293.5)
XYZxyz(26.7638, 23.4490, 50.6833)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CBC #AEBC7C
analogous
#7C8EBC #8A7CBC #AA7CBC
triadic
#8A7CBC #BC8A7C #7CBC8A
tetradic
#8A7CBC #BC7C8E #AEBC7C #7CBCAA
square
#8A7CBC #BC7C8E #AEBC7C #7CBCAA
split-complementary
#8A7CBC #BCAA7C #8EBC7C
monochromatic
#4E407D #6755A6 #8A7CBC #AEA4D1 #D2CDE5

Accessibility & contrast

On white

3.69
#8A7CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A7CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CBC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CBC#FFFFFF#000000##000000
##8A7CBC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86BF
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#7F8793
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7cbc;
/* rgb */ color: rgb(138, 124, 188);
/* oklch */ color: oklch(62.4% 0.096 293.5);
Tailwind
colors: {
  custom: {
    50: '#ada2d0',
    500: '#8a7cbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cbc;
$custom-light: #ada2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cbc",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 253.125,
    "s": 32.323,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6242,
    "c": 0.09587,
    "h": 293.5
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

primary
#8A7CBC
secondary
#D1D6BE
accent
#AB3A92
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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