#9662ED#9662ED

#9662ED is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.201 H 297.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9662ED
RGBrgb(150, 98, 237)
HSLhsl(262, 79%, 66%)
HSVhsv(262, 59%, 93%)
CMYKcmyk(36.7%, 58.6%, 0%, 7.1%)
CIE-LABlab(53.31, 49.90, -62.85)
CIE-LCHlch(53.31, 80.25, 308.45°)
OKLaboklab(61.87% 0.0927 -0.1785)
OKLCHoklch(61.87% 0.201 297.4)
XYZxyz(32.2276, 21.3333, 82.5242)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9662ED #B9ED62
analogous
#6273ED #9662ED #DB62ED
triadic
#9662ED #ED9662 #62ED96
tetradic
#9662ED #ED6273 #B9ED62 #62EDDB
square
#9662ED #ED6273 #B9ED62 #62EDDB
split-complementary
#9662ED #EDDB62 #73ED62
monochromatic
#5516BF #712BE7 #9662ED #BB99F3 #DFD0FA

Accessibility & contrast

On white

3.99
#9662ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9662ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9662ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9662ED#FFFFFF#000000##000000
##9662ED1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0580F2
Deuteranopia (green-blind)
#2B7EEA
Tritanopia (blue-blind)
#82809E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9662ed;
/* rgb */ color: rgb(150, 98, 237);
/* oklch */ color: oklch(61.9% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#ba91f4',
    500: '#9662ed',
    950: '#000000',
  },
}
SCSS
$custom: #9662ed;
$custom-light: #ba91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9662ed",
  "rgb": {
    "r": 150,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 262.446,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.20116,
    "h": 297.4
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#9662ED
secondary
#DBEDBE
accent
#DC0A8D
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9662ED

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

Preview Lab → · Contrast checker → · Palette generator →

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