#8A77CB#8A77CB

#8A77CB is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.2% C 0.125 H 292.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A77CB
RGBrgb(138, 119, 203)
HSLhsl(254, 45%, 63%)
HSVhsv(254, 41%, 80%)
CMYKcmyk(32%, 41.4%, 0%, 20.4%)
CIE-LABlab(54.98, 26.18, -41.08)
CIE-LCHlch(54.98, 48.72, 302.51°)
OKLaboklab(62.23% 0.0484 -0.1152)
OKLCHoklch(62.23% 0.125 292.8)
XYZxyz(27.8548, 22.9082, 59.4425)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77CB #B8CB77
analogous
#778ECB #8A77CB #B477CB
triadic
#8A77CB #CB8A77 #77CB8A
tetradic
#8A77CB #CB778E #B8CB77 #77CBB4
square
#8A77CB #CB778E #B8CB77 #77CBB4
split-complementary
#8A77CB #CBB477 #8ECB77
monochromatic
#4B3790 #644BBA #8A77CB #B0A3DC #D6D0ED

Accessibility & contrast

On white

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

On black

5.58
#8A77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77CB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77CB#FFFFFF#000000##000000
##8A77CB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CE
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#7B8697
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a77cb;
/* rgb */ color: rgb(138, 119, 203);
/* oklch */ color: oklch(62.2% 0.125 292.8);
Tailwind
colors: {
  custom: {
    50: '#ae9edb',
    500: '#8a77cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a77cb;
$custom-light: #ae9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77cb",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 253.571,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62227,
    "c": 0.12493,
    "h": 292.8
  },
  "luminance": 0.22909
}

Semantic roles & 50–950 ramp

primary
#8A77CB
secondary
#D7DEC0
accent
#B82E99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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