#9D64BE#9D64BE

#9D64BE is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.144 H 312.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9D64BE
RGBrgb(157, 100, 190)
HSLhsl(278, 41%, 57%)
HSVhsv(278, 47%, 75%)
CMYKcmyk(17.4%, 47.4%, 0%, 25.5%)
CIE-LABlab(51.84, 39.31, -38.47)
CIE-LCHlch(51.84, 55.00, 315.62°)
OKLaboklab(60.1% 0.0963 -0.1071)
OKLCHoklch(60.1% 0.144 312)
XYZxyz(27.7544, 20.0007, 51.1037)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64BE #85BE64
analogous
#7064BE #9D64BE #BE64B2
triadic
#9D64BE #BE9D64 #64BE9D
tetradic
#9D64BE #BE7064 #85BE64 #64B2BE
square
#9D64BE #BE7064 #85BE64 #64B2BE
split-complementary
#9D64BE #B2BE64 #64BE70
monochromatic
#5D3276 #7F44A1 #9D64BE #B88FD0 #D4BAE2

Accessibility & contrast

On white

4.20
#9D64BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9D64BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64BE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64BE#FFFFFF#000000##000000
##9D64BE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#9A7288
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d64be;
/* rgb */ color: rgb(157, 100, 190);
/* oklch */ color: oklch(60.1% 0.144 312.0);
Tailwind
colors: {
  custom: {
    50: '#bc92d2',
    500: '#9d64be',
    950: '#000000',
  },
}
SCSS
$custom: #9d64be;
$custom-light: #bc92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64be",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 190
  },
  "hsl": {
    "h": 278,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.601,
    "c": 0.14401,
    "h": 312
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#9D64BE
secondary
#BAD1AD
accent
#D15784
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9D64BE

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

Preview Lab → · Contrast checker → · Palette generator →

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