#9A77CA#9A77CA

#9A77CA is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.7% C 0.126 H 302.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9A77CA
RGBrgb(154, 119, 202)
HSLhsl(265, 44%, 63%)
HSVhsv(265, 41%, 79%)
CMYKcmyk(23.8%, 41.1%, 0%, 20.8%)
CIE-LABlab(56.41, 30.49, -38.15)
CIE-LCHlch(56.41, 48.84, 308.63°)
OKLaboklab(63.65% 0.0675 -0.1063)
OKLCHoklch(63.65% 0.126 302.4)
XYZxyz(30.5816, 24.3279, 58.9503)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A77CA #A7CA77
analogous
#777DCA #9A77CA #C377CA
triadic
#9A77CA #CA9A77 #77CA9A
tetradic
#9A77CA #CA777D #A7CA77 #77CAC3
square
#9A77CA #CA777D #A7CA77 #77CAC3
split-complementary
#9A77CA #CAC377 #7DCA77
monochromatic
#5C388F #794BB9 #9A77CA #BBA3DB #DBCFEC

Accessibility & contrast

On white

3.58
#9A77CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9A77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A77CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A77CA#FFFFFF#000000##000000
##9A77CA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#928597
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a77ca;
/* rgb */ color: rgb(154, 119, 202);
/* oklch */ color: oklch(63.7% 0.126 302.4);
Tailwind
colors: {
  custom: {
    50: '#b99eda',
    500: '#9a77ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a77ca;
$custom-light: #b99eda;
$custom-dark: #000000;
JSON
{
  "hex": "#9a77ca",
  "rgb": {
    "r": 154,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 265.301,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.12591,
    "h": 302.4
  },
  "luminance": 0.24328
}

Semantic roles & 50–950 ramp

primary
#9A77CA
secondary
#D1DDBF
accent
#B72E7D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9A77CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9A77CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva