#9478FC#9478FC

#9478FC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.189 H 290.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9478FC
RGBrgb(148, 120, 252)
HSLhsl(253, 96%, 73%)
HSVhsv(253, 52%, 99%)
CMYKcmyk(41.3%, 52.4%, 0%, 1.2%)
CIE-LABlab(58.75, 41.23, -62.45)
CIE-LCHlch(58.75, 74.83, 303.43°)
OKLaboklab(66.13% 0.0646 -0.1774)
OKLCHoklch(66.13% 0.189 290)
XYZxyz(36.4950, 26.7559, 95.3181)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9478FC #E0FC78
analogous
#789EFC #9478FC #D678FC
triadic
#9478FC #FC9478 #78FC94
tetradic
#9478FC #FC789E #E0FC78 #78FCD6
square
#9478FC #FC789E #E0FC78 #78FCD6
split-complementary
#9478FC #FCD678 #9EFC78
monochromatic
#3805F4 #653CFB #9478FC #C3B4FD #E7E1FE

Accessibility & contrast

On white

3.31
#9478FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9478FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9478FC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9478FC#FFFFFF#000000##000000
##9478FC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#3E8AF9
Tritanopia (blue-blind)
#7794AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9478fc;
/* rgb */ color: rgb(148, 120, 252);
/* oklch */ color: oklch(66.1% 0.189 290.0);
Tailwind
colors: {
  custom: {
    50: '#b99ffe',
    500: '#9478fc',
    950: '#000000',
  },
}
SCSS
$custom: #9478fc;
$custom-light: #b99ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#9478fc",
  "rgb": {
    "r": 148,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 252.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6613,
    "c": 0.18882,
    "h": 290
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#9478FC
secondary
#EFF7D4
accent
#E600B5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9478FC

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

Preview Lab → · Contrast checker → · Palette generator →

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