#9661EC#9661EC

#9661EC is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.7% C 0.201 H 297.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9661EC
RGBrgb(150, 97, 236)
HSLhsl(263, 79%, 65%)
HSVhsv(263, 59%, 93%)
CMYKcmyk(36.4%, 58.9%, 0%, 7.5%)
CIE-LABlab(53.05, 50.18, -62.71)
CIE-LCHlch(53.05, 80.32, 308.66°)
OKLaboklab(61.66% 0.0939 -0.1781)
OKLCHoklch(61.66% 0.201 297.8)
XYZxyz(31.9889, 21.0891, 81.7259)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9661EC #B7EC61
analogous
#6171EC #9661EC #DC61EC
triadic
#9661EC #EC9661 #61EC96
tetradic
#9661EC #EC6171 #B7EC61 #61ECDC
square
#9661EC #EC6171 #B7EC61 #61ECDC
split-complementary
#9661EC #ECDC61 #71EC61
monochromatic
#5617BC #722AE5 #9661EC #BA98F3 #DFCEF9

Accessibility & contrast

On white

4.02
#9661EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9661EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9661EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9661EC#FFFFFF#000000##000000
##9661EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF0
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#827F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9661ec;
/* rgb */ color: rgb(150, 97, 236);
/* oklch */ color: oklch(61.7% 0.201 297.8);
Tailwind
colors: {
  custom: {
    50: '#ba90f3',
    500: '#9661ec',
    950: '#000000',
  },
}
SCSS
$custom: #9661ec;
$custom-light: #ba90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9661ec",
  "rgb": {
    "r": 150,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 262.878,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.20136,
    "h": 297.8
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#9661EC
secondary
#DAECBD
accent
#DB0B8B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9661EC

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

Preview Lab → · Contrast checker → · Palette generator →

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