#9764D8#9764D8

#9764D8 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.173 H 301.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9764D8
RGBrgb(151, 100, 216)
HSLhsl(266, 60%, 62%)
HSVhsv(266, 54%, 85%)
CMYKcmyk(30.1%, 53.7%, 0%, 15.3%)
CIE-LABlab(52.57, 43.79, -52.21)
CIE-LCHlch(52.57, 68.15, 309.99°)
OKLaboklab(60.94% 0.0913 -0.1473)
OKLCHoklch(60.94% 0.173 301.8)
XYZxyz(29.7115, 20.6515, 67.3733)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9764D8 #A5D864
analogous
#646BD8 #9764D8 #D164D8
triadic
#9764D8 #D89764 #64D897
tetradic
#9764D8 #D8646B #A5D864 #64D8D1
square
#9764D8 #D8646B #A5D864 #64D8D1
split-complementary
#9764D8 #D8D164 #6BD864
monochromatic
#5A279B #7633CC #9764D8 #B895E4 #D9C6F1

Accessibility & contrast

On white

4.09
#9764D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9764D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9764D8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9764D8#FFFFFF#000000##000000
##9764D81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#497DD5
Tritanopia (blue-blind)
#8A7A94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9764d8;
/* rgb */ color: rgb(151, 100, 216);
/* oklch */ color: oklch(60.9% 0.173 301.8);
Tailwind
colors: {
  custom: {
    50: '#b992e5',
    500: '#9764d8',
    950: '#000000',
  },
}
SCSS
$custom: #9764d8;
$custom-light: #b992e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9764d8",
  "rgb": {
    "r": 151,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 266.379,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.17328,
    "h": 301.8
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#9764D8
secondary
#CEE1B7
accent
#C71E7D
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9764D8

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

Preview Lab → · Contrast checker → · Palette generator →

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