#8A7BD0#8A7BD0

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

Color values

HEX#8A7BD0
RGBrgb(138, 123, 208)
HSLhsl(251, 47%, 65%)
HSVhsv(251, 41%, 82%)
CMYKcmyk(33.7%, 40.9%, 0%, 18.4%)
CIE-LABlab(56.21, 25.15, -41.97)
CIE-LCHlch(56.21, 48.93, 300.93°)
OKLaboklab(63.24% 0.0439 -0.1178)
OKLCHoklch(63.24% 0.126 290.4)
XYZxyz(28.9464, 24.1226, 62.7933)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BD0 #C1D07B
analogous
#7B97D0 #8A7BD0 #B47BD0
triadic
#8A7BD0 #D08A7B #7BD08A
tetradic
#8A7BD0 #D07B97 #C1D07B #7BD0B4
square
#8A7BD0 #D07B97 #C1D07B #7BD0B4
split-complementary
#8A7BD0 #D0B47B #97D07B
monochromatic
#48379A #624EC0 #8A7BD0 #B2A8E0 #DAD5F0

Accessibility & contrast

On white

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

On black

5.82
#8A7BD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BD0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BD0#FFFFFF#000000##000000
##8A7BD01.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D3
Deuteranopia (green-blind)
#6185CE
Tritanopia (blue-blind)
#798B9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7bd0;
/* rgb */ color: rgb(138, 123, 208);
/* oklch */ color: oklch(63.2% 0.126 290.4);
Tailwind
colors: {
  custom: {
    50: '#aea1df',
    500: '#8a7bd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bd0;
$custom-light: #aea1df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bd0",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 208
  },
  "hsl": {
    "h": 250.588,
    "s": 47.486,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63242,
    "c": 0.12567,
    "h": 290.4
  },
  "luminance": 0.24123
}

Semantic roles & 50–950 ramp

primary
#8A7BD0
secondary
#DDE2C5
accent
#BB2BA1
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8A7BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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