#8A77DB#8A77DB

#8A77DB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.1% C 0.147 H 290.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A77DB
RGBrgb(138, 119, 219)
HSLhsl(251, 58%, 66%)
HSVhsv(251, 46%, 86%)
CMYKcmyk(37%, 45.7%, 0%, 14.1%)
CIE-LABlab(55.80, 30.44, -48.83)
CIE-LCHlch(55.80, 57.54, 301.93°)
OKLaboklab(63.11% 0.0509 -0.1378)
OKLCHoklch(63.11% 0.147 290.3)
XYZxyz(29.8608, 23.7106, 70.0074)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77DB #C8DB77
analogous
#7796DB #8A77DB #BC77DB
triadic
#8A77DB #DB8A77 #77DB8A
tetradic
#8A77DB #DB7796 #C8DB77 #77DBBC
square
#8A77DB #DB7796 #C8DB77 #77DBBC
split-complementary
#8A77DB #DBBC77 #96DB77
monochromatic
#452DAA #6047CE #8A77DB #B4A7E8 #DDD8F5

Accessibility & contrast

On white

3.66
#8A77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77DB#FFFFFF#000000##000000
##8A77DB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#5583D9
Tritanopia (blue-blind)
#758B9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a77db;
/* rgb */ color: rgb(138, 119, 219);
/* oklch */ color: oklch(63.1% 0.147 290.3);
Tailwind
colors: {
  custom: {
    50: '#af9ee6',
    500: '#8a77db',
    950: '#000000',
  },
}
SCSS
$custom: #8a77db;
$custom-light: #af9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77db",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 251.4,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.14687,
    "h": 290.3
  },
  "luminance": 0.23711
}

Semantic roles & 50–950 ramp

primary
#8A77DB
secondary
#E1E7C7
accent
#C620A6
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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