#8A77DF#8A77DF

#8A77DF is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.3% C 0.152 H 289.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A77DF
RGBrgb(138, 119, 223)
HSLhsl(251, 62%, 67%)
HSVhsv(251, 47%, 87%)
CMYKcmyk(38.1%, 46.6%, 0%, 12.5%)
CIE-LABlab(56.01, 31.52, -50.74)
CIE-LCHlch(56.01, 59.73, 301.85°)
OKLaboklab(63.34% 0.0514 -0.1433)
OKLCHoklch(63.34% 0.152 289.7)
XYZxyz(30.3937, 23.9238, 72.8141)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77DF #CCDF77
analogous
#7798DF #8A77DF #BE77DF
triadic
#8A77DF #DF8A77 #77DF8A
tetradic
#8A77DF #DF7798 #CCDF77 #77DFBE
square
#8A77DF #DF7798 #CCDF77 #77DFBE
split-complementary
#8A77DF #DFBE77 #98DF77
monochromatic
#432AB2 #5F45D3 #8A77DF #B5A9EB #DFDAF6

Accessibility & contrast

On white

3.63
#8A77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77DF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77DF#FFFFFF#000000##000000
##8A77DF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#5284DD
Tritanopia (blue-blind)
#738CA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a77df;
/* rgb */ color: rgb(138, 119, 223);
/* oklch */ color: oklch(63.3% 0.152 289.7);
Tailwind
colors: {
  custom: {
    50: '#b09ee9',
    500: '#8a77df',
    950: '#000000',
  },
}
SCSS
$custom: #8a77df;
$custom-light: #b09ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77df",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 250.962,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63344,
    "c": 0.15228,
    "h": 289.7
  },
  "luminance": 0.23925
}

Semantic roles & 50–950 ramp

primary
#8A77DF
secondary
#E3E9C8
accent
#CA1CAA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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