#9B64BC#9B64BC

#9B64BC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.141 H 311.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B64BC
RGBrgb(155, 100, 188)
HSLhsl(278, 40%, 56%)
HSVhsv(278, 47%, 74%)
CMYKcmyk(17.6%, 46.8%, 0%, 26.3%)
CIE-LABlab(51.51, 38.29, -37.84)
CIE-LCHlch(51.51, 53.83, 315.34°)
OKLaboklab(59.78% 0.0936 -0.1053)
OKLCHoklch(59.78% 0.141 311.6)
XYZxyz(27.1502, 19.7143, 49.9422)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64BC #85BC64
analogous
#6F64BC #9B64BC #BC64B1
triadic
#9B64BC #BC9B64 #64BC9B
tetradic
#9B64BC #BC6F64 #85BC64 #64B1BC
square
#9B64BC #BC6F64 #85BC64 #64B1BC
split-complementary
#9B64BC #B1BC64 #64BC6F
monochromatic
#5B3274 #7D449E #9B64BC #B78FCE #D2B9E1

Accessibility & contrast

On white

4.25
#9B64BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9B64BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B64BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B64BC#FFFFFF#000000##000000
##9B64BC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#987287
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b64bc;
/* rgb */ color: rgb(155, 100, 188);
/* oklch */ color: oklch(59.8% 0.141 311.6);
Tailwind
colors: {
  custom: {
    50: '#ba91d0',
    500: '#9b64bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b64bc;
$custom-light: #ba91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64bc",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 277.5,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.14086,
    "h": 311.6
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#9B64BC
secondary
#B9D0AC
accent
#D05885
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9B64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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