#9D64CA#9D64CA

#9D64CA is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.158 H 308.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D64CA
RGBrgb(157, 100, 202)
HSLhsl(274, 49%, 59%)
HSVhsv(274, 50%, 79%)
CMYKcmyk(22.3%, 50.5%, 0%, 20.8%)
CIE-LABlab(52.45, 42.03, -44.39)
CIE-LCHlch(52.45, 61.13, 313.44°)
OKLaboklab(60.76% 0.0978 -0.1243)
OKLCHoklch(60.76% 0.158 308.2)
XYZxyz(29.1204, 20.5471, 58.2976)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64CA #91CA64
analogous
#6A64CA #9D64CA #CA64C4
triadic
#9D64CA #CA9D64 #64CA9D
tetradic
#9D64CA #CA6A64 #91CA64 #64C4CA
square
#9D64CA #CA6A64 #91CA64 #64C4CA
split-complementary
#9D64CA #C4CA64 #64CA6A
monochromatic
#5F2E86 #7F3DB3 #9D64CA #BA92DA #D7BFE9

Accessibility & contrast

On white

4.11
#9D64CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9D64CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64CA#FFFFFF#000000##000000
##9D64CA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#97758E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d64ca;
/* rgb */ color: rgb(157, 100, 202);
/* oklch */ color: oklch(60.8% 0.158 308.2);
Tailwind
colors: {
  custom: {
    50: '#bc92da',
    500: '#9d64ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d64ca;
$custom-light: #bc92da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64ca",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 273.529,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.15811,
    "h": 308.2
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#9D64CA
secondary
#C3D9B1
accent
#D94F8C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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