#9D64E2#9D64E2

#9D64E2 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.2% C 0.186 H 302.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9D64E2
RGBrgb(157, 100, 226)
HSLhsl(267, 68%, 64%)
HSVhsv(267, 56%, 89%)
CMYKcmyk(30.5%, 55.8%, 0%, 11.4%)
CIE-LABlab(53.79, 47.71, -55.87)
CIE-LCHlch(53.79, 73.47, 310.49°)
OKLaboklab(62.17% 0.0992 -0.1579)
OKLCHoklch(62.17% 0.186 302.1)
XYZxyz(32.1861, 21.7734, 74.4438)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64E2 #A9E264
analogous
#646AE2 #9D64E2 #DC64E2
triadic
#9D64E2 #E29D64 #64E29D
tetradic
#9D64E2 #E2646A #A9E264 #64E2DC
square
#9D64E2 #E2646A #A9E264 #64E2DC
split-complementary
#9D64E2 #E2DC64 #6AE264
monochromatic
#5F20AC #7C30D8 #9D64E2 #BE98EC #DECBF5

Accessibility & contrast

On white

3.92
#9D64E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9D64E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64E2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64E2#FFFFFF#000000##000000
##9D64E21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E6
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#907D99
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d64e2;
/* rgb */ color: rgb(157, 100, 226);
/* oklch */ color: oklch(62.2% 0.186 302.1);
Tailwind
colors: {
  custom: {
    50: '#be92ec',
    500: '#9d64e2',
    950: '#000000',
  },
}
SCSS
$custom: #9d64e2;
$custom-light: #be92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64e2",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 267.143,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62173,
    "c": 0.18644,
    "h": 302.1
  },
  "luminance": 0.21773
}

Semantic roles & 50–950 ramp

primary
#9D64E2
secondary
#D3E7BB
accent
#D0157C
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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