#9765E7#9765E7

#9765E7 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.0% C 0.190 H 298.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9765E7
RGBrgb(151, 101, 231)
HSLhsl(263, 73%, 65%)
HSVhsv(263, 56%, 91%)
CMYKcmyk(34.6%, 56.3%, 0%, 9.4%)
CIE-LABlab(53.66, 46.98, -58.92)
CIE-LCHlch(53.66, 75.36, 308.57°)
OKLaboklab(62.03% 0.0905 -0.167)
OKLCHoklch(62.03% 0.19 298.4)
XYZxyz(31.8364, 21.6558, 78.0885)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765E7 #B5E765
analogous
#6574E7 #9765E7 #D865E7
triadic
#9765E7 #E79765 #65E797
tetradic
#9765E7 #E76574 #B5E765 #65E7D8
square
#9765E7 #E76574 #B5E765 #65E7D8
split-complementary
#9765E7 #E7D865 #74E765
monochromatic
#571CB5 #7330DF #9765E7 #BB9AEF #DFCFF8

Accessibility & contrast

On white

3.94
#9765E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9765E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765E7#FFFFFF#000000##000000
##9765E71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#3B7FE4
Tritanopia (blue-blind)
#85809C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9765e7;
/* rgb */ color: rgb(151, 101, 231);
/* oklch */ color: oklch(62.0% 0.190 298.4);
Tailwind
colors: {
  custom: {
    50: '#ba93ef',
    500: '#9765e7',
    950: '#000000',
  },
}
SCSS
$custom: #9765e7;
$custom-light: #ba93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9765e7",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 263.077,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62032,
    "c": 0.1899,
    "h": 298.4
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#9765E7
secondary
#D9EABE
accent
#D51089
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765E7

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

Preview Lab → · Contrast checker → · Palette generator →

#9765E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva