#9F64BF#9F64BF

#9F64BF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.146 H 312.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9F64BF
RGBrgb(159, 100, 191)
HSLhsl(279, 42%, 57%)
HSVhsv(279, 48%, 75%)
CMYKcmyk(16.8%, 47.6%, 0%, 25.1%)
CIE-LABlab(52.12, 40.11, -38.59)
CIE-LCHlch(52.12, 55.66, 316.11°)
OKLaboklab(60.37% 0.0989 -0.1074)
OKLCHoklch(60.37% 0.146 312.7)
XYZxyz(28.2576, 20.2475, 51.6997)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64BF #84BF64
analogous
#7264BF #9F64BF #BF64B2
triadic
#9F64BF #BF9F64 #64BF9F
tetradic
#9F64BF #BF7264 #84BF64 #64B2BF
square
#9F64BF #BF7264 #84BF64 #64B2BF
split-complementary
#9F64BF #B2BF64 #64BF72
monochromatic
#5F3177 #8143A3 #9F64BF #BA8FD1 #D5BBE3

Accessibility & contrast

On white

4.16
#9F64BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9F64BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64BF#FFFFFF#000000##000000
##9F64BF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#9C7288
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f64bf;
/* rgb */ color: rgb(159, 100, 191);
/* oklch */ color: oklch(60.4% 0.146 312.7);
Tailwind
colors: {
  custom: {
    50: '#bd92d2',
    500: '#9f64bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f64bf;
$custom-light: #bd92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64bf",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 278.901,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.14599,
    "h": 312.7
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#9F64BF
secondary
#BAD2AD
accent
#D15682
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9F64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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