#9D78DF#9D78DF

#9D78DF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.2% C 0.152 H 298.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9D78DF
RGBrgb(157, 120, 223)
HSLhsl(262, 62%, 67%)
HSVhsv(262, 46%, 87%)
CMYKcmyk(29.6%, 46.2%, 0%, 12.5%)
CIE-LABlab(57.97, 35.88, -47.52)
CIE-LCHlch(57.97, 59.55, 307.06°)
OKLaboklab(65.23% 0.073 -0.1335)
OKLCHoklch(65.23% 0.152 298.7)
XYZxyz(33.9372, 25.9285, 73.0145)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D78DF #BADF78
analogous
#7887DF #9D78DF #D078DF
triadic
#9D78DF #DF9D78 #78DF9D
tetradic
#9D78DF #DF7887 #BADF78 #78DFD0
square
#9D78DF #DF7887 #BADF78 #78DFD0
split-complementary
#9D78DF #DFD078 #87DF78
monochromatic
#5B2AB2 #7947D3 #9D78DF #C1A9EB #E5DBF6

Accessibility & contrast

On white

3.39
#9D78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9D78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D78DF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D78DF#FFFFFF#000000##000000
##9D78DF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE3
Deuteranopia (green-blind)
#608ADC
Tritanopia (blue-blind)
#908BA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d78df;
/* rgb */ color: rgb(157, 120, 223);
/* oklch */ color: oklch(65.2% 0.152 298.7);
Tailwind
colors: {
  custom: {
    50: '#bc9fe9',
    500: '#9d78df',
    950: '#000000',
  },
}
SCSS
$custom: #9d78df;
$custom-light: #bc9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d78df",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 261.553,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65226,
    "c": 0.15214,
    "h": 298.7
  },
  "luminance": 0.25929
}

Semantic roles & 50–950 ramp

primary
#9D78DF
secondary
#DEEAC9
accent
#C91C8B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9D78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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