#9474FD#9474FD

#9474FD is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.196 H 290.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9474FD
RGBrgb(148, 116, 253)
HSLhsl(254, 97%, 72%)
HSVhsv(254, 54%, 99%)
CMYKcmyk(41.5%, 54.2%, 0%, 0.8%)
CIE-LABlab(57.92, 43.75, -64.33)
CIE-LCHlch(57.92, 77.80, 304.22°)
OKLaboklab(65.54% 0.0693 -0.1829)
OKLCHoklch(65.54% 0.196 290.8)
XYZxyz(36.1829, 25.8774, 95.9979)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474FD #DDFD74
analogous
#7498FD #9474FD #D974FD
triadic
#9474FD #FD9474 #74FD94
tetradic
#9474FD #FD7498 #DDFD74 #74FDD9
square
#9474FD #FD7498 #DDFD74 #74FDD9
split-complementary
#9474FD #FDD974 #98FD74
monochromatic
#3B03F3 #6638FC #9474FD #C2B0FE #E8E1FF

Accessibility & contrast

On white

3.40
#9474FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9474FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474FD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474FD#FFFFFF#000000##000000
##9474FD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8EFF
Deuteranopia (green-blind)
#3588FA
Tritanopia (blue-blind)
#7691AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9474fd;
/* rgb */ color: rgb(148, 116, 253);
/* oklch */ color: oklch(65.5% 0.196 290.8);
Tailwind
colors: {
  custom: {
    50: '#b99dff',
    500: '#9474fd',
    950: '#000000',
  },
}
SCSS
$custom: #9474fd;
$custom-light: #b99dff;
$custom-dark: #000000;
JSON
{
  "hex": "#9474fd",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 254.015,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65535,
    "c": 0.19564,
    "h": 290.8
  },
  "luminance": 0.25879
}

Semantic roles & 50–950 ramp

primary
#9474FD
secondary
#EFF7D4
accent
#E600B0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9474FD

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

Preview Lab → · Contrast checker → · Palette generator →

#9474FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva