#9764E2#9764E2

#9764E2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.185 H 299.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9764E2
RGBrgb(151, 100, 226)
HSLhsl(264, 68%, 64%)
HSVhsv(264, 56%, 89%)
CMYKcmyk(33.2%, 55.8%, 0%, 11.4%)
CIE-LABlab(53.15, 46.27, -56.92)
CIE-LCHlch(53.15, 73.36, 309.11°)
OKLaboklab(61.56% 0.0916 -0.1611)
OKLCHoklch(61.56% 0.185 299.6)
XYZxyz(31.0438, 21.1844, 74.3902)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9764E2 #AFE264
analogous
#6470E2 #9764E2 #D664E2
triadic
#9764E2 #E29764 #64E297
tetradic
#9764E2 #E26470 #AFE264 #64E2D6
square
#9764E2 #E26470 #AFE264 #64E2D6
split-complementary
#9764E2 #E2D664 #70E264
monochromatic
#5920AC #7430D8 #9764E2 #BA98EC #DCCBF5

Accessibility & contrast

On white

4.01
#9764E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9764E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9764E2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9764E2#FFFFFF#000000##000000
##9764E21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE6
Deuteranopia (green-blind)
#3F7EDF
Tritanopia (blue-blind)
#877D99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9764e2;
/* rgb */ color: rgb(151, 100, 226);
/* oklch */ color: oklch(61.6% 0.185 299.6);
Tailwind
colors: {
  custom: {
    50: '#b992ec',
    500: '#9764e2',
    950: '#000000',
  },
}
SCSS
$custom: #9764e2;
$custom-light: #b992ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9764e2",
  "rgb": {
    "r": 151,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 264.286,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.18535,
    "h": 299.6
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#9764E2
secondary
#D5E7BB
accent
#D01585
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9764E2

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

Preview Lab → · Contrast checker → · Palette generator →

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