#9662EA#9662EA

#9662EA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.198 H 298.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9662EA
RGBrgb(150, 98, 234)
HSLhsl(263, 76%, 65%)
HSVhsv(263, 58%, 92%)
CMYKcmyk(35.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(53.12, 49.14, -61.47)
CIE-LCHlch(53.12, 78.69, 308.64°)
OKLaboklab(61.67% 0.0927 -0.1745)
OKLCHoklch(61.67% 0.198 298)
XYZxyz(31.7929, 21.1595, 80.2351)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9662EA #B6EA62
analogous
#6272EA #9662EA #DA62EA
triadic
#9662EA #EA9662 #62EA96
tetradic
#9662EA #EA6272 #B6EA62 #62EADA
square
#9662EA #EA6272 #B6EA62 #62EADA
split-complementary
#9662EA #EADA62 #72EA62
monochromatic
#5619B9 #722CE3 #9662EA #BA98F1 #DECEF8

Accessibility & contrast

On white

4.01
#9662EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9662EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9662EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9662EA#FFFFFF#000000##000000
##9662EA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FEE
Deuteranopia (green-blind)
#307DE7
Tritanopia (blue-blind)
#837F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9662ea;
/* rgb */ color: rgb(150, 98, 234);
/* oklch */ color: oklch(61.7% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#ba91f1',
    500: '#9662ea',
    950: '#000000',
  },
}
SCSS
$custom: #9662ea;
$custom-light: #ba91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9662ea",
  "rgb": {
    "r": 150,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 262.941,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.19761,
    "h": 298
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#9662EA
secondary
#D9EBBD
accent
#D90D8B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9662EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9662EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva