#9F78FD#9F78FD

#9F78FD is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.2% C 0.190 H 294.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F78FD
RGBrgb(159, 120, 253)
HSLhsl(258, 97%, 73%)
HSVhsv(258, 53%, 99%)
CMYKcmyk(37.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(59.79, 44.02, -61.27)
CIE-LCHlch(59.79, 75.44, 305.70°)
OKLaboklab(67.16% 0.0781 -0.1736)
OKLCHoklch(67.16% 0.19 294.2)
XYZxyz(38.7395, 27.8949, 96.2527)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F78FD #D6FD78
analogous
#7893FD #9F78FD #E178FD
triadic
#9F78FD #FD9F78 #78FD9F
tetradic
#9F78FD #FD7893 #D6FD78 #78FDE1
square
#9F78FD #FD7893 #D6FD78 #78FDE1
split-complementary
#9F78FD #FDE178 #93FD78
monochromatic
#4B04F7 #743CFC #9F78FD #CAB4FE #EAE1FF

Accessibility & contrast

On white

3.19
#9F78FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9F78FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F78FD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F78FD#FFFFFF#000000##000000
##9F78FD1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#488EFA
Tritanopia (blue-blind)
#8893AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f78fd;
/* rgb */ color: rgb(159, 120, 253);
/* oklch */ color: oklch(67.2% 0.190 294.2);
Tailwind
colors: {
  custom: {
    50: '#c0a0ff',
    500: '#9f78fd',
    950: '#000000',
  },
}
SCSS
$custom: #9f78fd;
$custom-light: #c0a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f78fd",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 257.594,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67161,
    "c": 0.19038,
    "h": 294.2
  },
  "luminance": 0.27896
}

Semantic roles & 50–950 ramp

primary
#9F78FD
secondary
#EDF7D4
accent
#E600A2
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9F78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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