#9C64ED#9C64ED

#9C64ED is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.199 H 299.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9C64ED
RGBrgb(156, 100, 237)
HSLhsl(265, 79%, 66%)
HSVhsv(265, 58%, 93%)
CMYKcmyk(34.2%, 57.8%, 0%, 7.1%)
CIE-LABlab(54.34, 50.17, -61.16)
CIE-LCHlch(54.34, 79.11, 309.36°)
OKLaboklab(62.77% 0.098 -0.1734)
OKLCHoklch(62.77% 0.199 299.5)
XYZxyz(33.5498, 22.2964, 82.6404)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64ED #B5ED64
analogous
#6470ED #9C64ED #E164ED
triadic
#9C64ED #ED9C64 #64ED9C
tetradic
#9C64ED #ED6470 #B5ED64 #64EDE1
square
#9C64ED #ED6470 #B5ED64 #64EDE1
split-complementary
#9C64ED #EDE164 #70ED64
monochromatic
#5C16C0 #792DE7 #9C64ED #BF9BF3 #E2D2FA

Accessibility & contrast

On white

3.85
#9C64ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9C64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64ED
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64ED#FFFFFF#000000##000000
##9C64ED1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B82F1
Deuteranopia (green-blind)
#3781EA
Tritanopia (blue-blind)
#8B809F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9c64ed;
/* rgb */ color: rgb(156, 100, 237);
/* oklch */ color: oklch(62.8% 0.199 299.5);
Tailwind
colors: {
  custom: {
    50: '#be92f4',
    500: '#9c64ed',
    950: '#000000',
  },
}
SCSS
$custom: #9c64ed;
$custom-light: #be92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64ed",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 264.526,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.19918,
    "h": 299.5
  },
  "luminance": 0.22297
}

Semantic roles & 50–950 ramp

primary
#9C64ED
secondary
#DBEDC0
accent
#DB0A86
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9C64ED

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

Preview Lab → · Contrast checker → · Palette generator →

#9C64ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva