#9460DC#9460DC

#9460DC is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.183 H 300.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9460DC
RGBrgb(148, 96, 220)
HSLhsl(265, 64%, 62%)
HSVhsv(265, 56%, 86%)
CMYKcmyk(32.7%, 56.4%, 0%, 13.7%)
CIE-LABlab(51.64, 46.24, -55.97)
CIE-LCHlch(51.64, 72.60, 309.56°)
OKLaboklab(60.26% 0.0926 -0.1584)
OKLCHoklch(60.26% 0.184 300.3)
XYZxyz(29.3108, 19.8288, 69.9794)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9460DC #A8DC60
analogous
#606ADC #9460DC #D260DC
triadic
#9460DC #DC9460 #60DC94
tetradic
#9460DC #DC606A #A8DC60 #60DCD2
square
#9460DC #DC606A #A8DC60 #60DCD2
split-complementary
#9460DC #DCD260 #6ADC60
monochromatic
#57239F #722ED1 #9460DC #B692E7 #D8C4F2

Accessibility & contrast

On white

4.23
#9460DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9460DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9460DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9460DC#FFFFFF#000000##000000
##9460DC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#857995
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9460dc;
/* rgb */ color: rgb(148, 96, 220);
/* oklch */ color: oklch(60.3% 0.183 300.3);
Tailwind
colors: {
  custom: {
    50: '#b78fe7',
    500: '#9460dc',
    950: '#000000',
  },
}
SCSS
$custom: #9460dc;
$custom-light: #b78fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9460dc",
  "rgb": {
    "r": 148,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 265.161,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.1835,
    "h": 300.3
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#9460DC
secondary
#D0E3B5
accent
#CC1A81
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9460DC

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

Preview Lab → · Contrast checker → · Palette generator →

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