#9A62E4#9A62E4

#9A62E4 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.191 H 300.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9A62E4
RGBrgb(154, 98, 228)
HSLhsl(266, 71%, 64%)
HSVhsv(266, 57%, 89%)
CMYKcmyk(32.5%, 57%, 0%, 10.6%)
CIE-LABlab(53.17, 48.56, -57.99)
CIE-LCHlch(53.17, 75.64, 309.94°)
OKLaboklab(61.69% 0.0979 -0.1642)
OKLCHoklch(61.69% 0.191 300.8)
XYZxyz(31.6944, 21.2067, 75.8073)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A62E4 #ACE462
analogous
#626BE4 #9A62E4 #DB62E4
triadic
#9A62E4 #E49A62 #62E49A
tetradic
#9A62E4 #E4626B #ACE462 #62E4DB
square
#9A62E4 #E4626B #ACE462 #62E4DB
split-complementary
#9A62E4 #E4DB62 #6BE462
monochromatic
#5C1EAE #782EDB #9A62E4 #BC96ED #DDCAF6

Accessibility & contrast

On white

4.01
#9A62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9A62E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A62E4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A62E4#FFFFFF#000000##000000
##9A62E41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#257EE8
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#8B7C9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a62e4;
/* rgb */ color: rgb(154, 98, 228);
/* oklch */ color: oklch(61.7% 0.191 300.8);
Tailwind
colors: {
  custom: {
    50: '#bc91ed',
    500: '#9a62e4',
    950: '#000000',
  },
}
SCSS
$custom: #9a62e4;
$custom-light: #bc91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a62e4",
  "rgb": {
    "r": 154,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 265.846,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.19113,
    "h": 300.8
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#9A62E4
secondary
#D4E8BA
accent
#D31380
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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