#9474F9#9474F9

#9474F9 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.191 H 291.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9474F9
RGBrgb(148, 116, 249)
HSLhsl(254, 92%, 72%)
HSVhsv(254, 53%, 98%)
CMYKcmyk(40.6%, 53.4%, 0%, 2.4%)
CIE-LABlab(57.68, 42.67, -62.51)
CIE-LCHlch(57.68, 75.68, 304.32°)
OKLaboklab(65.28% 0.0692 -0.1776)
OKLCHoklch(65.28% 0.191 291.3)
XYZxyz(35.5523, 25.6252, 92.6771)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474F9 #D9F974
analogous
#7497F9 #9474F9 #D774F9
triadic
#9474F9 #F99474 #74F994
tetradic
#9474F9 #F97497 #D9F974 #74F9D7
square
#9474F9 #F97497 #D9F974 #74F9D7
split-complementary
#9474F9 #F9D774 #97F974
monochromatic
#400AE9 #6739F6 #9474F9 #C1AFFC #E8E2FE

Accessibility & contrast

On white

3.43
#9474F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9474F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474F9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474F9#FFFFFF#000000##000000
##9474F91.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFE
Deuteranopia (green-blind)
#3B88F6
Tritanopia (blue-blind)
#7890AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9474f9;
/* rgb */ color: rgb(148, 116, 249);
/* oklch */ color: oklch(65.3% 0.191 291.3);
Tailwind
colors: {
  custom: {
    50: '#b99dfc',
    500: '#9474f9',
    950: '#000000',
  },
}
SCSS
$custom: #9474f9;
$custom-light: #b99dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9474f9",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 254.436,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.1906,
    "h": 291.3
  },
  "luminance": 0.25626
}

Semantic roles & 50–950 ramp

primary
#9474F9
secondary
#EDF5D3
accent
#E600AE
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9474F9

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

Preview Lab → · Contrast checker → · Palette generator →

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