#9478FA#9478FA

#9478FA is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.0% C 0.186 H 290.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9478FA
RGBrgb(148, 120, 250)
HSLhsl(253, 93%, 73%)
HSVhsv(253, 52%, 98%)
CMYKcmyk(40.8%, 52%, 0%, 2%)
CIE-LABlab(58.63, 40.68, -61.53)
CIE-LCHlch(58.63, 73.77, 303.47°)
OKLaboklab(66% 0.0645 -0.1747)
OKLCHoklch(66% 0.186 290.3)
XYZxyz(36.1798, 26.6298, 93.6578)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9478FA #DEFA78
analogous
#789DFA #9478FA #D578FA
triadic
#9478FA #FA9478 #78FA94
tetradic
#9478FA #FA789D #DEFA78 #78FAD5
square
#9478FA #FA789D #DEFA78 #78FAD5
split-complementary
#9478FA #FAD578 #9DFA78
monochromatic
#3A09EF #653DF8 #9478FA #C3B3FC #E8E1FE

Accessibility & contrast

On white

3.32
#9478FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9478FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9478FA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9478FA#FFFFFF#000000##000000
##9478FA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFE
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#7893AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9478fa;
/* rgb */ color: rgb(148, 120, 250);
/* oklch */ color: oklch(66.0% 0.186 290.3);
Tailwind
colors: {
  custom: {
    50: '#b99ffd',
    500: '#9478fa',
    950: '#000000',
  },
}
SCSS
$custom: #9478fa;
$custom-light: #b99ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#9478fa",
  "rgb": {
    "r": 148,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 252.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66004,
    "c": 0.18627,
    "h": 290.3
  },
  "luminance": 0.26631
}

Semantic roles & 50–950 ramp

primary
#9478FA
secondary
#EFF6D5
accent
#E600B4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9478FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9478FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva