#9764E5#9764E5

#9764E5 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.189 H 299.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9764E5
RGBrgb(151, 100, 229)
HSLhsl(264, 71%, 65%)
HSVhsv(264, 56%, 90%)
CMYKcmyk(34.1%, 56.3%, 0%, 10.2%)
CIE-LABlab(53.33, 47.02, -58.32)
CIE-LCHlch(53.33, 74.92, 308.88°)
OKLaboklab(61.75% 0.0916 -0.1652)
OKLCHoklch(61.75% 0.189 299)
XYZxyz(31.4591, 21.3505, 76.5772)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9764E5 #B2E564
analogous
#6472E5 #9764E5 #D864E5
triadic
#9764E5 #E59764 #64E597
tetradic
#9764E5 #E56472 #B2E564 #64E5D8
square
#9764E5 #E56472 #B2E564 #64E5D8
split-complementary
#9764E5 #E5D864 #72E564
monochromatic
#581EB1 #7430DC #9764E5 #BA98EE #DDCDF7

Accessibility & contrast

On white

3.98
#9764E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9764E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9764E5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9764E5#FFFFFF#000000##000000
##9764E51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE9
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#867E9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9764e5;
/* rgb */ color: rgb(151, 100, 229);
/* oklch */ color: oklch(61.8% 0.189 299.0);
Tailwind
colors: {
  custom: {
    50: '#ba92ee',
    500: '#9764e5',
    950: '#000000',
  },
}
SCSS
$custom: #9764e5;
$custom-light: #ba92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9764e5",
  "rgb": {
    "r": 151,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 263.721,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.18894,
    "h": 299
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#9764E5
secondary
#D7E9BC
accent
#D31287
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9764E5

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

Preview Lab → · Contrast checker → · Palette generator →

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