#9478EA#9478EA

#9478EA is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.0% C 0.166 H 292.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9478EA
RGBrgb(148, 120, 234)
HSLhsl(255, 73%, 69%)
HSVhsv(255, 49%, 92%)
CMYKcmyk(36.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(57.72, 36.39, -54.11)
CIE-LCHlch(57.72, 65.21, 303.92°)
OKLaboklab(65.03% 0.0634 -0.153)
OKLCHoklch(65.03% 0.166 292.5)
XYZxyz(33.7766, 25.6686, 81.0009)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9478EA #CEEA78
analogous
#7895EA #9478EA #CD78EA
triadic
#9478EA #EA9478 #78EA94
tetradic
#9478EA #EA7895 #CEEA78 #78EACD
square
#9478EA #EA7895 #CEEA78 #78EACD
split-complementary
#9478EA #EACD78 #95EA78
monochromatic
#491FC8 #6A43E2 #9478EA #BEADF2 #E8E2FA

Accessibility & contrast

On white

3.42
#9478EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9478EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9478EA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9478EA#FFFFFF#000000##000000
##9478EA1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#5189E7
Tritanopia (blue-blind)
#7E8FA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9478ea;
/* rgb */ color: rgb(148, 120, 234);
/* oklch */ color: oklch(65.0% 0.166 292.5);
Tailwind
colors: {
  custom: {
    50: '#b79ff1',
    500: '#9478ea',
    950: '#000000',
  },
}
SCSS
$custom: #9478ea;
$custom-light: #b79ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9478ea",
  "rgb": {
    "r": 148,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 254.737,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65033,
    "c": 0.16557,
    "h": 292.5
  },
  "luminance": 0.25669
}

Semantic roles & 50–950 ramp

primary
#9478EA
secondary
#E7EFCE
accent
#D510A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9478EA

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

Preview Lab → · Contrast checker → · Palette generator →

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