#9474DC#9474DC

#9474DC is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.5% C 0.153 H 295.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9474DC
RGBrgb(148, 116, 220)
HSLhsl(258, 60%, 66%)
HSVhsv(258, 47%, 86%)
CMYKcmyk(32.7%, 47.3%, 0%, 13.7%)
CIE-LABlab(56.04, 35.03, -48.95)
CIE-LCHlch(56.04, 60.19, 305.59°)
OKLaboklab(63.53% 0.067 -0.1379)
OKLCHoklch(63.53% 0.153 295.9)
XYZxyz(31.3732, 23.9535, 70.6669)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474DC #BCDC74
analogous
#7488DC #9474DC #C874DC
triadic
#9474DC #DC9474 #74DC94
tetradic
#9474DC #DC7488 #BCDC74 #74DCC8
square
#9474DC #DC7488 #BCDC74 #74DCC8
split-complementary
#9474DC #DCC874 #88DC74
monochromatic
#522BAB #6E43D0 #9474DC #BAA5E8 #DFD6F5

Accessibility & contrast

On white

3.63
#9474DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9474DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474DC#FFFFFF#000000##000000
##9474DC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#84889E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9474dc;
/* rgb */ color: rgb(148, 116, 220);
/* oklch */ color: oklch(63.5% 0.153 295.9);
Tailwind
colors: {
  custom: {
    50: '#b69ce7',
    500: '#9474dc',
    950: '#000000',
  },
}
SCSS
$custom: #9474dc;
$custom-light: #b69ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9474dc",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 258.462,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63529,
    "c": 0.15329,
    "h": 295.9
  },
  "luminance": 0.23954
}

Semantic roles & 50–950 ramp

primary
#9474DC
secondary
#DDE7C5
accent
#C71E93
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9474DC

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

Preview Lab → · Contrast checker → · Palette generator →

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