#9D64BF#9D64BF

#9D64BF is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.145 H 311.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D64BF
RGBrgb(157, 100, 191)
HSLhsl(278, 42%, 57%)
HSVhsv(278, 48%, 75%)
CMYKcmyk(17.8%, 47.6%, 0%, 25.1%)
CIE-LABlab(51.89, 39.53, -38.96)
CIE-LCHlch(51.89, 55.51, 315.42°)
OKLaboklab(60.15% 0.0965 -0.1085)
OKLCHoklch(60.15% 0.145 311.6)
XYZxyz(27.8641, 20.0446, 51.6812)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64BF #86BF64
analogous
#6F64BF #9D64BF #BF64B4
triadic
#9D64BF #BF9D64 #64BF9D
tetradic
#9D64BF #BF6F64 #86BF64 #64B4BF
square
#9D64BF #BF6F64 #86BF64 #64B4BF
split-complementary
#9D64BF #B4BF64 #64BF6F
monochromatic
#5D3177 #7F43A3 #9D64BF #B88FD1 #D4BBE3

Accessibility & contrast

On white

4.19
#9D64BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9D64BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64BF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64BF#FFFFFF#000000##000000
##9D64BF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#997288
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d64bf;
/* rgb */ color: rgb(157, 100, 191);
/* oklch */ color: oklch(60.2% 0.145 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc92d2',
    500: '#9d64bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d64bf;
$custom-light: #bc92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64bf",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 277.582,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.14519,
    "h": 311.6
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#9D64BF
secondary
#BBD2AD
accent
#D15684
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9D64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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