#8A7BCF#8A7BCF

#8A7BCF is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.2% C 0.124 H 290.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A7BCF
RGBrgb(138, 123, 207)
HSLhsl(251, 47%, 65%)
HSVhsv(251, 41%, 81%)
CMYKcmyk(33.3%, 40.6%, 0%, 18.8%)
CIE-LABlab(56.16, 24.88, -41.49)
CIE-LCHlch(56.16, 48.38, 300.96°)
OKLaboklab(63.19% 0.0437 -0.1163)
OKLCHoklch(63.19% 0.124 290.6)
XYZxyz(28.8237, 24.0735, 62.1474)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BCF #C0CF7B
analogous
#7B96CF #8A7BCF #B47BCF
triadic
#8A7BCF #CF8A7B #7BCF8A
tetradic
#8A7BCF #CF7B96 #C0CF7B #7BCFB4
square
#8A7BCF #CF7B96 #C0CF7B #7BCFB4
split-complementary
#8A7BCF #CFB47B #96CF7B
monochromatic
#493798 #624EBF #8A7BCF #B2A8DF #DAD5F0

Accessibility & contrast

On white

3.61
#8A7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8A7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BCF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BCF#FFFFFF#000000##000000
##8A7BCF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D2
Deuteranopia (green-blind)
#6285CD
Tritanopia (blue-blind)
#798B9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7bcf;
/* rgb */ color: rgb(138, 123, 207);
/* oklch */ color: oklch(63.2% 0.124 290.6);
Tailwind
colors: {
  custom: {
    50: '#aea1de',
    500: '#8a7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bcf;
$custom-light: #aea1de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bcf",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 250.714,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.12428,
    "h": 290.6
  },
  "luminance": 0.24074
}

Semantic roles & 50–950 ramp

primary
#8A7BCF
secondary
#DCE1C4
accent
#BA2CA0
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8A7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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