#9462DB#9462DB

#9462DB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.179 H 300.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9462DB
RGBrgb(148, 98, 219)
HSLhsl(265, 63%, 62%)
HSVhsv(265, 55%, 86%)
CMYKcmyk(32.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(52.00, 44.90, -54.83)
CIE-LCHlch(52.00, 70.87, 309.31°)
OKLaboklab(60.51% 0.0901 -0.1551)
OKLCHoklch(60.51% 0.179 300.2)
XYZxyz(29.3636, 20.1455, 69.3456)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9462DB #A9DB62
analogous
#626DDB #9462DB #D062DB
triadic
#9462DB #DB9462 #62DB94
tetradic
#9462DB #DB626D #A9DB62 #62DBD0
square
#9462DB #DB626D #A9DB62 #62DBD0
split-complementary
#9462DB #DBD062 #6DDB62
monochromatic
#57249E #7230D0 #9462DB #B694E6 #D8C6F2

Accessibility & contrast

On white

4.18
#9462DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9462DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9462DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9462DB#FFFFFF#000000##000000
##9462DB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#857A95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9462db;
/* rgb */ color: rgb(148, 98, 219);
/* oklch */ color: oklch(60.5% 0.179 300.2);
Tailwind
colors: {
  custom: {
    50: '#b790e7',
    500: '#9462db',
    950: '#000000',
  },
}
SCSS
$custom: #9462db;
$custom-light: #b790e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9462db",
  "rgb": {
    "r": 148,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 264.793,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.17935,
    "h": 300.2
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#9462DB
secondary
#D0E3B6
accent
#CA1B82
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9462DB

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

Preview Lab → · Contrast checker → · Palette generator →

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