#9462EC#9462EC

#9462EC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.200 H 296.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9462EC
RGBrgb(148, 98, 236)
HSLhsl(262, 78%, 65%)
HSVhsv(262, 58%, 93%)
CMYKcmyk(37.3%, 58.5%, 0%, 7.5%)
CIE-LABlab(53.04, 49.20, -62.73)
CIE-LCHlch(53.04, 79.72, 308.11°)
OKLaboklab(61.61% 0.0901 -0.1783)
OKLCHoklch(61.61% 0.2 296.8)
XYZxyz(31.7169, 21.0869, 81.7398)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9462EC #BAEC62
analogous
#6275EC #9462EC #D962EC
triadic
#9462EC #EC9462 #62EC94
tetradic
#9462EC #EC6275 #BAEC62 #62ECD9
square
#9462EC #EC6275 #BAEC62 #62ECD9
split-complementary
#9462EC #ECD962 #75EC62
monochromatic
#5317BD #6F2BE5 #9462EC #B999F3 #DECFF9

Accessibility & contrast

On white

4.02
#9462EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9462EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9462EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9462EC#FFFFFF#000000##000000
##9462EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#067FF0
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#7F809E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9462ec;
/* rgb */ color: rgb(148, 98, 236);
/* oklch */ color: oklch(61.6% 0.200 296.8);
Tailwind
colors: {
  custom: {
    50: '#b891f3',
    500: '#9462ec',
    950: '#000000',
  },
}
SCSS
$custom: #9462ec;
$custom-light: #b891f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9462ec",
  "rgb": {
    "r": 148,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 261.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.19975,
    "h": 296.8
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#9462EC
secondary
#DBECBE
accent
#DB0B8F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9462EC

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

Preview Lab → · Contrast checker → · Palette generator →

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