#9474FA#9474FA

#9474FA is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.192 H 291.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9474FA
RGBrgb(148, 116, 250)
HSLhsl(254, 93%, 72%)
HSVhsv(254, 54%, 98%)
CMYKcmyk(40.8%, 53.6%, 0%, 2%)
CIE-LABlab(57.74, 42.94, -62.96)
CIE-LCHlch(57.74, 76.21, 304.30°)
OKLaboklab(65.34% 0.0692 -0.1789)
OKLCHoklch(65.34% 0.192 291.2)
XYZxyz(35.7087, 25.6877, 93.5007)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474FA #DAFA74
analogous
#7497FA #9474FA #D774FA
triadic
#9474FA #FA9474 #74FA94
tetradic
#9474FA #FA7497 #DAFA74 #74FAD7
square
#9474FA #FA7497 #DAFA74 #74FAD7
split-complementary
#9474FA #FAD774 #97FA74
monochromatic
#3F08EB #6739F8 #9474FA #C1AFFC #E8E1FE

Accessibility & contrast

On white

3.42
#9474FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9474FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474FA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474FA#FFFFFF#000000##000000
##9474FA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#7890AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9474fa;
/* rgb */ color: rgb(148, 116, 250);
/* oklch */ color: oklch(65.3% 0.192 291.2);
Tailwind
colors: {
  custom: {
    50: '#b99dfd',
    500: '#9474fa',
    950: '#000000',
  },
}
SCSS
$custom: #9474fa;
$custom-light: #b99dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9474fa",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 254.328,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65343,
    "c": 0.19187,
    "h": 291.2
  },
  "luminance": 0.25689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9474FA

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

Preview Lab → · Contrast checker → · Palette generator →

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