#9D78F8#9D78F8

#9D78F8 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.7% C 0.184 H 294.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D78F8
RGBrgb(157, 120, 248)
HSLhsl(257, 90%, 72%)
HSVhsv(257, 52%, 97%)
CMYKcmyk(36.7%, 51.6%, 0%, 2.7%)
CIE-LABlab(59.32, 42.25, -59.28)
CIE-LCHlch(59.32, 72.79, 305.48°)
OKLaboklab(66.68% 0.0754 -0.1678)
OKLCHoklch(66.68% 0.184 294.2)
XYZxyz(37.5600, 27.3776, 92.0942)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D78F8 #D3F878
analogous
#7893F8 #9D78F8 #DD78F8
triadic
#9D78F8 #F89D78 #78F89D
tetradic
#9D78F8 #F87893 #D3F878 #78F8DD
square
#9D78F8 #F87893 #D3F878 #78F8DD
split-complementary
#9D78F8 #F8DD78 #93F878
monochromatic
#4C0CE9 #733EF5 #9D78F8 #C7B2FB #EAE2FD

Accessibility & contrast

On white

3.24
#9D78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9D78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D78F8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D78F8#FFFFFF#000000##000000
##9D78F81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#8792AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d78f8;
/* rgb */ color: rgb(157, 120, 248);
/* oklch */ color: oklch(66.7% 0.184 294.2);
Tailwind
colors: {
  custom: {
    50: '#bea0fb',
    500: '#9d78f8',
    950: '#000000',
  },
}
SCSS
$custom: #9d78f8;
$custom-light: #bea0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d78f8",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 257.344,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.18399,
    "h": 294.2
  },
  "luminance": 0.27378
}

Semantic roles & 50–950 ramp

primary
#9D78F8
secondary
#ECF6D5
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9D78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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