#9D78CA#9D78CA

#9D78CA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.1% C 0.125 H 303.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9D78CA
RGBrgb(157, 120, 202)
HSLhsl(267, 44%, 63%)
HSVhsv(267, 41%, 79%)
CMYKcmyk(22.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(56.94, 30.79, -37.30)
CIE-LCHlch(56.94, 48.37, 309.54°)
OKLaboklab(64.12% 0.0697 -0.1038)
OKLCHoklch(64.12% 0.125 303.9)
XYZxyz(31.2795, 24.8654, 59.0173)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D78CA #A5CA78
analogous
#787CCA #9D78CA #C678CA
triadic
#9D78CA #CA9D78 #78CA9D
tetradic
#9D78CA #CA787C #A5CA78 #78CAC6
square
#9D78CA #CA787C #A5CA78 #78CAC6
split-complementary
#9D78CA #CAC678 #7CCA78
monochromatic
#60388F #7D4CB9 #9D78CA #BDA4DB #DDD0ED

Accessibility & contrast

On white

3.52
#9D78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9D78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D78CA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D78CA#FFFFFF#000000##000000
##9D78CA1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CD
Deuteranopia (green-blind)
#6C89C8
Tritanopia (blue-blind)
#968597
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d78ca;
/* rgb */ color: rgb(157, 120, 202);
/* oklch */ color: oklch(64.1% 0.125 303.9);
Tailwind
colors: {
  custom: {
    50: '#bb9fda',
    500: '#9d78ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d78ca;
$custom-light: #bb9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#9d78ca",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 267.073,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6412,
    "c": 0.125,
    "h": 303.9
  },
  "luminance": 0.24865
}

Semantic roles & 50–950 ramp

primary
#9D78CA
secondary
#D0DEC0
accent
#B72F79
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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