#9462DC#9462DC

#9462DC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.181 H 299.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9462DC
RGBrgb(148, 98, 220)
HSLhsl(265, 64%, 62%)
HSVhsv(265, 55%, 86%)
CMYKcmyk(32.7%, 55.5%, 0%, 13.7%)
CIE-LABlab(52.06, 45.15, -55.30)
CIE-LCHlch(52.06, 71.39, 309.23°)
OKLaboklab(60.57% 0.0901 -0.1564)
OKLCHoklch(60.57% 0.181 299.9)
XYZxyz(29.4956, 20.1984, 70.0410)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9462DC #AADC62
analogous
#626DDC #9462DC #D162DC
triadic
#9462DC #DC9462 #62DC94
tetradic
#9462DC #DC626D #AADC62 #62DCD1
square
#9462DC #DC626D #AADC62 #62DCD1
split-complementary
#9462DC #DCD162 #6DDC62
monochromatic
#5724A0 #7230D1 #9462DC #B694E7 #D8C6F2

Accessibility & contrast

On white

4.17
#9462DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9462DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9462DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9462DC#FFFFFF#000000##000000
##9462DC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#857A96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9462dc;
/* rgb */ color: rgb(148, 98, 220);
/* oklch */ color: oklch(60.6% 0.181 299.9);
Tailwind
colors: {
  custom: {
    50: '#b790e7',
    500: '#9462dc',
    950: '#000000',
  },
}
SCSS
$custom: #9462dc;
$custom-light: #b790e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9462dc",
  "rgb": {
    "r": 148,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 264.59,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.18056,
    "h": 299.9
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#9462DC
secondary
#D1E3B7
accent
#CB1A83
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9462DC

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

Preview Lab → · Contrast checker → · Palette generator →

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