#8A77CC#8A77CC

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

Color values

HEX#8A77CC
RGBrgb(138, 119, 204)
HSLhsl(253, 45%, 63%)
HSVhsv(253, 42%, 80%)
CMYKcmyk(32.4%, 41.7%, 0%, 20%)
CIE-LABlab(55.03, 26.44, -41.57)
CIE-LCHlch(55.03, 49.27, 302.46°)
OKLaboklab(62.28% 0.0486 -0.1166)
OKLCHoklch(62.28% 0.126 292.6)
XYZxyz(27.9744, 22.9560, 60.0721)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77CC #B9CC77
analogous
#778ECC #8A77CC #B477CC
triadic
#8A77CC #CC8A77 #77CC8A
tetradic
#8A77CC #CC778E #B9CC77 #77CCB4
square
#8A77CC #CC778E #B9CC77 #77CCB4
split-complementary
#8A77CC #CCB477 #8ECC77
monochromatic
#4B3792 #644ABB #8A77CC #B0A4DD #D7D0ED

Accessibility & contrast

On white

3.76
#8A77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77CC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77CC#FFFFFF#000000##000000
##8A77CC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#7B8798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a77cc;
/* rgb */ color: rgb(138, 119, 204);
/* oklch */ color: oklch(62.3% 0.126 292.6);
Tailwind
colors: {
  custom: {
    50: '#ae9edc',
    500: '#8a77cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a77cc;
$custom-light: #ae9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77cc",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 253.412,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.12631,
    "h": 292.6
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#8A77CC
secondary
#D8DFC0
accent
#B92D99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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