#9765D7#9765D7

#9765D7 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.171 H 301.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9765D7
RGBrgb(151, 101, 215)
HSLhsl(266, 59%, 62%)
HSVhsv(266, 53%, 84%)
CMYKcmyk(29.8%, 53%, 0%, 15.7%)
CIE-LABlab(52.72, 43.00, -51.39)
CIE-LCHlch(52.72, 67.01, 309.92°)
OKLaboklab(61.04% 0.0899 -0.1449)
OKLCHoklch(61.04% 0.171 301.8)
XYZxyz(29.6791, 20.7929, 66.7266)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765D7 #A5D765
analogous
#656CD7 #9765D7 #D065D7
triadic
#9765D7 #D79765 #65D797
tetradic
#9765D7 #D7656C #A5D765 #65D7D0
square
#9765D7 #D7656C #A5D765 #65D7D0
split-complementary
#9765D7 #D7D065 #6CD765
monochromatic
#5A289A #7635CA #9765D7 #B896E4 #D9C6F0

Accessibility & contrast

On white

4.07
#9765D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9765D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765D7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765D7#FFFFFF#000000##000000
##9765D71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#8B7B94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9765d7;
/* rgb */ color: rgb(151, 101, 215);
/* oklch */ color: oklch(61.0% 0.171 301.8);
Tailwind
colors: {
  custom: {
    50: '#b992e4',
    500: '#9765d7',
    950: '#000000',
  },
}
SCSS
$custom: #9765d7;
$custom-light: #b992e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9765d7",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 215
  },
  "hsl": {
    "h": 266.316,
    "s": 58.763,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.17054,
    "h": 301.8
  },
  "luminance": 0.20793
}

Semantic roles & 50–950 ramp

primary
#9765D7
secondary
#CEE1B7
accent
#C61F7D
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #9765D7

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

Preview Lab → · Contrast checker → · Palette generator →

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