#9C78F2#9C78F2

#9C78F2 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.2% C 0.176 H 294.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C78F2
RGBrgb(156, 120, 242)
HSLhsl(258, 82%, 71%)
HSVhsv(258, 50%, 95%)
CMYKcmyk(35.5%, 50.4%, 0%, 5.1%)
CIE-LABlab(58.89, 40.45, -56.65)
CIE-LCHlch(58.89, 69.61, 305.53°)
OKLaboklab(66.22% 0.0737 -0.1602)
OKLCHoklch(66.22% 0.176 294.7)
XYZxyz(36.4497, 26.9110, 87.2611)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C78F2 #CEF278
analogous
#7891F2 #9C78F2 #D978F2
triadic
#9C78F2 #F29C78 #78F29C
tetradic
#9C78F2 #F27891 #CEF278 #78F2D9
square
#9C78F2 #F27891 #CEF278 #78F2D9
split-complementary
#9C78F2 #F2D978 #91F278
monochromatic
#4F15DB #7340ED #9C78F2 #C5B0F7 #EBE3FC

Accessibility & contrast

On white

3.29
#9C78F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9C78F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C78F2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C78F2#FFFFFF#000000##000000
##9C78F21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#8890AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c78f2;
/* rgb */ color: rgb(156, 120, 242);
/* oklch */ color: oklch(66.2% 0.176 294.7);
Tailwind
colors: {
  custom: {
    50: '#bda0f7',
    500: '#9c78f2',
    950: '#000000',
  },
}
SCSS
$custom: #9c78f2;
$custom-light: #bda0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c78f2",
  "rgb": {
    "r": 156,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 257.705,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66224,
    "c": 0.17634,
    "h": 294.7
  },
  "luminance": 0.26912
}

Semantic roles & 50–950 ramp

primary
#9C78F2
secondary
#EAF3D3
accent
#DF079F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #9C78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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