#8A7BD3#8A7BD3

#8A7BD3 is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.4% C 0.130 H 290.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A7BD3
RGBrgb(138, 123, 211)
HSLhsl(250, 50%, 65%)
HSVhsv(250, 42%, 83%)
CMYKcmyk(34.6%, 41.7%, 0%, 17.3%)
CIE-LABlab(56.36, 25.95, -43.43)
CIE-LCHlch(56.36, 50.59, 300.85°)
OKLaboklab(63.4% 0.0444 -0.122)
OKLCHoklch(63.4% 0.13 290)
XYZxyz(29.3190, 24.2716, 64.7555)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BD3 #C4D37B
analogous
#7B98D3 #8A7BD3 #B67BD3
triadic
#8A7BD3 #D38A7B #7BD38A
tetradic
#8A7BD3 #D37B98 #C4D37B #7BD3B6
square
#8A7BD3 #D37B98 #C4D37B #7BD3B6
split-complementary
#8A7BD3 #D3B67B #98D37B
monochromatic
#47359F #614DC4 #8A7BD3 #B3A9E2 #DBD7F2

Accessibility & contrast

On white

3.59
#8A7BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A7BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BD3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BD3#FFFFFF#000000##000000
##8A7BD31.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F89D6
Deuteranopia (green-blind)
#5F85D1
Tritanopia (blue-blind)
#788C9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7bd3;
/* rgb */ color: rgb(138, 123, 211);
/* oklch */ color: oklch(63.4% 0.130 290.0);
Tailwind
colors: {
  custom: {
    50: '#afa1e1',
    500: '#8a7bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bd3;
$custom-light: #afa1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bd3",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 250.227,
    "s": 50,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63404,
    "c": 0.12985,
    "h": 290
  },
  "luminance": 0.24272
}

Semantic roles & 50–950 ramp

primary
#8A7BD3
secondary
#DFE4C6
accent
#BD28A4
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8A7BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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