#9A62EC#9A62EC

#9A62EC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.2% C 0.201 H 299.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9A62EC
RGBrgb(154, 98, 236)
HSLhsl(264, 78%, 65%)
HSVhsv(264, 58%, 93%)
CMYKcmyk(34.7%, 58.5%, 0%, 7.5%)
CIE-LABlab(53.67, 50.54, -61.70)
CIE-LCHlch(53.67, 79.75, 309.32°)
OKLaboklab(62.21% 0.0978 -0.175)
OKLCHoklch(62.21% 0.201 299.2)
XYZxyz(32.8307, 21.6612, 81.7920)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A62EC #B4EC62
analogous
#626FEC #9A62EC #DF62EC
triadic
#9A62EC #EC9A62 #62EC9A
tetradic
#9A62EC #EC626F #B4EC62 #62ECDF
square
#9A62EC #EC626F #B4EC62 #62ECDF
split-complementary
#9A62EC #ECDF62 #6FEC62
monochromatic
#5A17BD #772BE5 #9A62EC #BD99F3 #E0CFF9

Accessibility & contrast

On white

3.94
#9A62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9A62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A62EC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A62EC#FFFFFF#000000##000000
##9A62EC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280F0
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#887F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9a62ec;
/* rgb */ color: rgb(154, 98, 236);
/* oklch */ color: oklch(62.2% 0.201 299.2);
Tailwind
colors: {
  custom: {
    50: '#bc91f3',
    500: '#9a62ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a62ec;
$custom-light: #bc91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a62ec",
  "rgb": {
    "r": 154,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 264.348,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.20052,
    "h": 299.2
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

primary
#9A62EC
secondary
#D9ECBE
accent
#DB0B86
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A62EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A62EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva