#9474EE#9474EE

#9474EE is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.6% C 0.177 H 292.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9474EE
RGBrgb(148, 116, 238)
HSLhsl(256, 78%, 69%)
HSVhsv(256, 51%, 93%)
CMYKcmyk(37.8%, 51.3%, 0%, 6.7%)
CIE-LABlab(57.04, 39.73, -57.44)
CIE-LCHlch(57.04, 69.84, 304.67°)
OKLaboklab(64.59% 0.0687 -0.1627)
OKLCHoklch(64.59% 0.177 292.9)
XYZxyz(33.8867, 24.9589, 83.9045)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474EE #CEEE74
analogous
#7491EE #9474EE #D174EE
triadic
#9474EE #EE9474 #74EE94
tetradic
#9474EE #EE7491 #CEEE74 #74EED1
square
#9474EE #EE7491 #CEEE74 #74EED1
split-complementary
#9474EE #EED174 #91EE74
monochromatic
#4919CE #6A3DE7 #9474EE #BEABF5 #E8E1FB

Accessibility & contrast

On white

3.50
#9474EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9474EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474EE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474EE#FFFFFF#000000##000000
##9474EE1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF2
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#7D8DA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9474ee;
/* rgb */ color: rgb(148, 116, 238);
/* oklch */ color: oklch(64.6% 0.177 292.9);
Tailwind
colors: {
  custom: {
    50: '#b89df4',
    500: '#9474ee',
    950: '#000000',
  },
}
SCSS
$custom: #9474ee;
$custom-light: #b89df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9474ee",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 255.738,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64594,
    "c": 0.1766,
    "h": 292.9
  },
  "luminance": 0.2496
}

Semantic roles & 50–950 ramp

primary
#9474EE
secondary
#E7F0CD
accent
#DA0BA4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9474EE

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

Preview Lab → · Contrast checker → · Palette generator →

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