#9662CA#9662CA

#9662CA is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.7% C 0.159 H 305.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9662CA
RGBrgb(150, 98, 202)
HSLhsl(270, 50%, 59%)
HSVhsv(270, 51%, 79%)
CMYKcmyk(25.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(51.25, 41.25, -46.34)
CIE-LCHlch(51.25, 62.04, 311.68°)
OKLaboklab(59.69% 0.0917 -0.1302)
OKLCHoklch(59.69% 0.159 305.2)
XYZxyz(27.6038, 19.4838, 58.1722)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9662CA #96CA62
analogous
#6262CA #9662CA #CA62CA
triadic
#9662CA #CA9662 #62CA96
tetradic
#9662CA #CA6262 #96CA62 #62CACA
square
#9662CA #CA6262 #96CA62 #62CACA
split-complementary
#9662CA #CACA62 #62CA62
monochromatic
#592D85 #773CB3 #9662CA #B590D9 #D3BEE9

Accessibility & contrast

On white

4.29
#9662CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9662CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9662CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9662CA#FFFFFF#000000##000000
##9662CA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#8D758D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9662ca;
/* rgb */ color: rgb(150, 98, 202);
/* oklch */ color: oklch(59.7% 0.159 305.2);
Tailwind
colors: {
  custom: {
    50: '#b790da',
    500: '#9662ca',
    950: '#000000',
  },
}
SCSS
$custom: #9662ca;
$custom-light: #b790da;
$custom-dark: #000000;
JSON
{
  "hex": "#9662ca",
  "rgb": {
    "r": 150,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59689,
    "c": 0.15923,
    "h": 305.2
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#9662CA
secondary
#C4D8AF
accent
#D94F94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9662CA

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

Preview Lab → · Contrast checker → · Palette generator →

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