#9661EB#9661EB

#9661EB is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.200 H 298.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9661EB
RGBrgb(150, 97, 235)
HSLhsl(263, 78%, 65%)
HSVhsv(263, 59%, 92%)
CMYKcmyk(36.2%, 58.7%, 0%, 7.8%)
CIE-LABlab(52.98, 49.93, -62.25)
CIE-LCHlch(52.98, 79.80, 308.73°)
OKLaboklab(61.59% 0.0939 -0.1768)
OKLCHoklch(61.59% 0.2 298)
XYZxyz(31.8440, 21.0312, 80.9629)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9661EB #B6EB61
analogous
#6171EB #9661EB #DB61EB
triadic
#9661EB #EB9661 #61EB96
tetradic
#9661EB #EB6171 #B6EB61 #61EBDB
square
#9661EB #EB6171 #B6EB61 #61EBDB
split-complementary
#9661EB #EBDB61 #71EB61
monochromatic
#5618BA #722BE4 #9661EB #BA97F2 #DECEF9

Accessibility & contrast

On white

4.03
#9661EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9661EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9661EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9661EB#FFFFFF#000000##000000
##9661EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FEF
Deuteranopia (green-blind)
#2C7DE8
Tritanopia (blue-blind)
#837E9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9661eb;
/* rgb */ color: rgb(150, 97, 235);
/* oklch */ color: oklch(61.6% 0.200 298.0);
Tailwind
colors: {
  custom: {
    50: '#ba90f2',
    500: '#9661eb',
    950: '#000000',
  },
}
SCSS
$custom: #9661eb;
$custom-light: #ba90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9661eb",
  "rgb": {
    "r": 150,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 263.043,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61591,
    "c": 0.20019,
    "h": 298
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#9661EB
secondary
#D9EBBD
accent
#DA0C8B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9661EB

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

Preview Lab → · Contrast checker → · Palette generator →

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