#9764C8#9764C8

#9764C8 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.0% C 0.154 H 305.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9764C8
RGBrgb(151, 100, 200)
HSLhsl(271, 48%, 59%)
HSVhsv(271, 50%, 78%)
CMYKcmyk(24.5%, 50%, 0%, 21.6%)
CIE-LABlab(51.68, 39.93, -44.50)
CIE-LCHlch(51.68, 59.79, 311.91°)
OKLaboklab(60% 0.0901 -0.1248)
OKLCHoklch(60% 0.154 305.8)
XYZxyz(27.7428, 19.8640, 57.0050)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9764C8 #95C864
analogous
#6564C8 #9764C8 #C864C7
triadic
#9764C8 #C89764 #64C897
tetradic
#9764C8 #C86564 #95C864 #64C7C8
square
#9764C8 #C86564 #95C864 #64C7C8
split-complementary
#9764C8 #C7C864 #64C865
monochromatic
#5A2F83 #793FB0 #9764C8 #B591D8 #D4BEE8

Accessibility & contrast

On white

4.22
#9764C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9764C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9764C8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9764C8#FFFFFF#000000##000000
##9764C81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACB
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#8F768D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9764c8;
/* rgb */ color: rgb(151, 100, 200);
/* oklch */ color: oklch(60.0% 0.154 305.8);
Tailwind
colors: {
  custom: {
    50: '#b891d9',
    500: '#9764c8',
    950: '#000000',
  },
}
SCSS
$custom: #9764c8;
$custom-light: #b891d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9764c8",
  "rgb": {
    "r": 151,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 270.6,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.15388,
    "h": 305.8
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#9764C8
secondary
#C4D8B0
accent
#D75193
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9764C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9764C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva