#9D64ED#9D64ED

#9D64ED is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.199 H 299.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9D64ED
RGBrgb(157, 100, 237)
HSLhsl(265, 79%, 66%)
HSVhsv(265, 58%, 93%)
CMYKcmyk(33.8%, 57.8%, 0%, 7.1%)
CIE-LABlab(54.45, 50.40, -60.98)
CIE-LCHlch(54.45, 79.12, 309.57°)
OKLaboklab(62.87% 0.0993 -0.1729)
OKLCHoklch(62.87% 0.199 299.9)
XYZxyz(33.7442, 22.3966, 82.6495)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64ED #B4ED64
analogous
#646FED #9D64ED #E264ED
triadic
#9D64ED #ED9D64 #64ED9D
tetradic
#9D64ED #ED646F #B4ED64 #64EDE2
square
#9D64ED #ED646F #B4ED64 #64EDE2
split-complementary
#9D64ED #EDE264 #6FED64
monochromatic
#5D16C0 #7A2DE7 #9D64ED #C09BF3 #E2D2FA

Accessibility & contrast

On white

3.83
#9D64ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9D64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64ED
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64ED#FFFFFF#000000##000000
##9D64ED1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D82F1
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#8C809F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d64ed;
/* rgb */ color: rgb(157, 100, 237);
/* oklch */ color: oklch(62.9% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#be92f4',
    500: '#9d64ed',
    950: '#000000',
  },
}
SCSS
$custom: #9d64ed;
$custom-light: #be92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64ed",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 264.964,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.19933,
    "h": 299.9
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#9D64ED
secondary
#DAEDC0
accent
#DB0A84
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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