#9778CA#9778CA

#9778CA is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.5% C 0.124 H 300.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9778CA
RGBrgb(151, 120, 202)
HSLhsl(263, 44%, 63%)
HSVhsv(263, 41%, 79%)
CMYKcmyk(25.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(56.36, 29.04, -38.25)
CIE-LCHlch(56.36, 48.03, 307.20°)
OKLaboklab(63.54% 0.0624 -0.1067)
OKLCHoklch(63.54% 0.124 300.3)
XYZxyz(30.1372, 24.2764, 58.9637)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9778CA #ABCA78
analogous
#7882CA #9778CA #C078CA
triadic
#9778CA #CA9778 #78CA97
tetradic
#9778CA #CA7882 #ABCA78 #78CAC0
square
#9778CA #CA7882 #ABCA78 #78CAC0
split-complementary
#9778CA #CAC078 #82CA78
monochromatic
#59388F #754CB9 #9778CA #B9A4DB #DBD0ED

Accessibility & contrast

On white

3.59
#9778CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9778CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9778CA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9778CA#FFFFFF#000000##000000
##9778CA1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#8E8697
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9778ca;
/* rgb */ color: rgb(151, 120, 202);
/* oklch */ color: oklch(63.5% 0.124 300.3);
Tailwind
colors: {
  custom: {
    50: '#b79fda',
    500: '#9778ca',
    950: '#000000',
  },
}
SCSS
$custom: #9778ca;
$custom-light: #b79fda;
$custom-dark: #000000;
JSON
{
  "hex": "#9778ca",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 262.683,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.1236,
    "h": 300.3
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#9778CA
secondary
#D2DEC0
accent
#B72F83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9778CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9778CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva