#9472EA#9472EA

#9472EA is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.174 H 294.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9472EA
RGBrgb(148, 114, 234)
HSLhsl(257, 74%, 68%)
HSVhsv(257, 51%, 92%)
CMYKcmyk(36.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(56.36, 39.81, -56.29)
CIE-LCHlch(56.36, 68.95, 305.27°)
OKLaboklab(64.02% 0.0709 -0.1594)
OKLCHoklch(64.02% 0.174 294)
XYZxyz(33.0775, 24.2703, 80.7679)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9472EA #C8EA72
analogous
#728CEA #9472EA #D072EA
triadic
#9472EA #EA9472 #72EA94
tetradic
#9472EA #EA728C #C8EA72 #72EAD0
square
#9472EA #EA728C #C8EA72 #72EAD0
split-complementary
#9472EA #EAD072 #8CEA72
monochromatic
#4D1DC4 #6C3DE2 #9472EA #BCA7F2 #E5DDFA

Accessibility & contrast

On white

3.59
#9472EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9472EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9472EA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9472EA#FFFFFF#000000##000000
##9472EA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#7F8AA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9472ea;
/* rgb */ color: rgb(148, 114, 234);
/* oklch */ color: oklch(64.0% 0.174 294.0);
Tailwind
colors: {
  custom: {
    50: '#b79bf1',
    500: '#9472ea',
    950: '#000000',
  },
}
SCSS
$custom: #9472ea;
$custom-light: #b79bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9472ea",
  "rgb": {
    "r": 148,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 257,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.1744,
    "h": 294
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#9472EA
secondary
#E4EECA
accent
#D60F9E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9472EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9472EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva