#9764E4#9764E4

#9764E4 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.188 H 299.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9764E4
RGBrgb(151, 100, 228)
HSLhsl(264, 70%, 64%)
HSVhsv(264, 56%, 89%)
CMYKcmyk(33.8%, 56.1%, 0%, 10.6%)
CIE-LABlab(53.27, 46.77, -57.86)
CIE-LCHlch(53.27, 74.40, 308.95°)
OKLaboklab(61.69% 0.0916 -0.1639)
OKLCHoklch(61.69% 0.188 299.2)
XYZxyz(31.3199, 21.2948, 75.8440)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9764E4 #B1E464
analogous
#6471E4 #9764E4 #D764E4
triadic
#9764E4 #E49764 #64E497
tetradic
#9764E4 #E46471 #B1E464 #64E4D7
square
#9764E4 #E46471 #B1E464 #64E4D7
split-complementary
#9764E4 #E4D764 #71E464
monochromatic
#581FAF #7430DB #9764E4 #BA98ED #DDCCF6

Accessibility & contrast

On white

3.99
#9764E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9764E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9764E4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9764E4#FFFFFF#000000##000000
##9764E41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE8
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#867E9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9764e4;
/* rgb */ color: rgb(151, 100, 228);
/* oklch */ color: oklch(61.7% 0.188 299.2);
Tailwind
colors: {
  custom: {
    50: '#ba92ed',
    500: '#9764e4',
    950: '#000000',
  },
}
SCSS
$custom: #9764e4;
$custom-light: #ba92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9764e4",
  "rgb": {
    "r": 151,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 263.906,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.18774,
    "h": 299.2
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#9764E4
secondary
#D6E8BC
accent
#D21386
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9764E4

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

Preview Lab → · Contrast checker → · Palette generator →

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