#9474FC#9474FC

#9474FC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.194 H 290.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9474FC
RGBrgb(148, 116, 252)
HSLhsl(254, 96%, 72%)
HSVhsv(254, 54%, 99%)
CMYKcmyk(41.3%, 54%, 0%, 1.2%)
CIE-LABlab(57.86, 43.48, -63.87)
CIE-LCHlch(57.86, 77.27, 304.25°)
OKLaboklab(65.47% 0.0693 -0.1816)
OKLCHoklch(65.47% 0.194 290.9)
XYZxyz(36.0240, 25.8138, 95.1611)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474FC #DCFC74
analogous
#7498FC #9474FC #D874FC
triadic
#9474FC #FC9474 #74FC94
tetradic
#9474FC #FC7498 #DCFC74 #74FCD8
square
#9474FC #FC7498 #DCFC74 #74FCD8
split-complementary
#9474FC #FCD874 #98FC74
monochromatic
#3D05F0 #6638FB #9474FC #C2B0FD #E8E1FE

Accessibility & contrast

On white

3.41
#9474FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9474FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474FC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474FC#FFFFFF#000000##000000
##9474FC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#3688F9
Tritanopia (blue-blind)
#7791AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9474fc;
/* rgb */ color: rgb(148, 116, 252);
/* oklch */ color: oklch(65.5% 0.194 290.9);
Tailwind
colors: {
  custom: {
    50: '#b99dfe',
    500: '#9474fc',
    950: '#000000',
  },
}
SCSS
$custom: #9474fc;
$custom-light: #b99dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9474fc",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 254.118,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65471,
    "c": 0.19438,
    "h": 290.9
  },
  "luminance": 0.25815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9474FC

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

Preview Lab → · Contrast checker → · Palette generator →

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