#9662EB#9662EB

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

Color values

HEX#9662EB
RGBrgb(150, 98, 235)
HSLhsl(263, 77%, 65%)
HSVhsv(263, 58%, 92%)
CMYKcmyk(36.2%, 58.3%, 0%, 7.8%)
CIE-LABlab(53.19, 49.39, -61.93)
CIE-LCHlch(53.19, 79.21, 308.57°)
OKLaboklab(61.74% 0.0927 -0.1758)
OKLCHoklch(61.74% 0.199 297.8)
XYZxyz(31.9370, 21.2171, 80.9939)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9662EB #B7EB62
analogous
#6272EB #9662EB #DB62EB
triadic
#9662EB #EB9662 #62EB96
tetradic
#9662EB #EB6272 #B7EB62 #62EBDB
square
#9662EB #EB6272 #B7EB62 #62EBDB
split-complementary
#9662EB #EBDB62 #72EB62
monochromatic
#5618BB #722CE4 #9662EB #BA98F2 #DFCFF9

Accessibility & contrast

On white

4.00
#9662EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9662EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9662EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9662EB#FFFFFF#000000##000000
##9662EB1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7FEF
Deuteranopia (green-blind)
#2E7EE8
Tritanopia (blue-blind)
#827F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9662eb;
/* rgb */ color: rgb(150, 98, 235);
/* oklch */ color: oklch(61.7% 0.199 297.8);
Tailwind
colors: {
  custom: {
    50: '#ba91f2',
    500: '#9662eb',
    950: '#000000',
  },
}
SCSS
$custom: #9662eb;
$custom-light: #ba91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9662eb",
  "rgb": {
    "r": 150,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 262.774,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.1988,
    "h": 297.8
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#9662EB
secondary
#DAEBBD
accent
#DA0C8C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9662EB

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

Preview Lab → · Contrast checker → · Palette generator →

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