#9462EB#9462EB

#9462EB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.199 H 297.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9462EB
RGBrgb(148, 98, 235)
HSLhsl(262, 77%, 65%)
HSVhsv(262, 58%, 92%)
CMYKcmyk(37%, 58.3%, 0%, 7.8%)
CIE-LABlab(52.98, 48.95, -62.27)
CIE-LCHlch(52.98, 79.20, 308.17°)
OKLaboklab(61.54% 0.0902 -0.1769)
OKLCHoklch(61.54% 0.199 297)
XYZxyz(31.5720, 21.0289, 80.9767)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9462EB #B9EB62
analogous
#6274EB #9462EB #D962EB
triadic
#9462EB #EB9462 #62EB94
tetradic
#9462EB #EB6274 #B9EB62 #62EBD9
square
#9462EB #EB6274 #B9EB62 #62EBD9
split-complementary
#9462EB #EBD962 #74EB62
monochromatic
#5318BB #6F2CE4 #9462EB #B998F2 #DECFF9

Accessibility & contrast

On white

4.03
#9462EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9462EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9462EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9462EB#FFFFFF#000000##000000
##9462EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7FEF
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#7F7F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9462eb;
/* rgb */ color: rgb(148, 98, 235);
/* oklch */ color: oklch(61.5% 0.199 297.0);
Tailwind
colors: {
  custom: {
    50: '#b890f2',
    500: '#9462eb',
    950: '#000000',
  },
}
SCSS
$custom: #9462eb;
$custom-light: #b890f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9462eb",
  "rgb": {
    "r": 148,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 261.898,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.19856,
    "h": 297
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#9462EB
secondary
#DBEBBD
accent
#DA0C8F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9462EB

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

Preview Lab → · Contrast checker → · Palette generator →

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