#8A77CD#8A77CD

#8A77CD is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.3% C 0.128 H 292.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A77CD
RGBrgb(138, 119, 205)
HSLhsl(253, 46%, 64%)
HSVhsv(253, 42%, 80%)
CMYKcmyk(32.7%, 42%, 0%, 19.6%)
CIE-LABlab(55.08, 26.70, -42.06)
CIE-LCHlch(55.08, 49.82, 302.41°)
OKLaboklab(62.33% 0.0488 -0.118)
OKLCHoklch(62.33% 0.128 292.5)
XYZxyz(28.0947, 23.0041, 60.7058)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77CD #BACD77
analogous
#778FCD #8A77CD #B577CD
triadic
#8A77CD #CD8A77 #77CD8A
tetradic
#8A77CD #CD778F #BACD77 #77CDB5
square
#8A77CD #CD778F #BACD77 #77CDB5
split-complementary
#8A77CD #CDB577 #8FCD77
monochromatic
#4B3693 #644ABD #8A77CD #B0A4DD #D7D0EE

Accessibility & contrast

On white

3.75
#8A77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77CD#FFFFFF#000000##000000
##8A77CD1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#7A8798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a77cd;
/* rgb */ color: rgb(138, 119, 205);
/* oklch */ color: oklch(62.3% 0.128 292.5);
Tailwind
colors: {
  custom: {
    50: '#ae9edc',
    500: '#8a77cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a77cd;
$custom-light: #ae9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77cd",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 253.256,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62334,
    "c": 0.1277,
    "h": 292.5
  },
  "luminance": 0.23005
}

Semantic roles & 50–950 ramp

primary
#8A77CD
secondary
#D8DFC1
accent
#B92C9A
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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