#9765D6#9765D6

#9765D6 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.0% C 0.169 H 302.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9765D6
RGBrgb(151, 101, 214)
HSLhsl(267, 58%, 62%)
HSVhsv(267, 53%, 84%)
CMYKcmyk(29.4%, 52.8%, 0%, 16.1%)
CIE-LABlab(52.67, 42.75, -50.92)
CIE-LCHlch(52.67, 66.49, 310.02°)
OKLaboklab(60.98% 0.0899 -0.1435)
OKLCHoklch(60.98% 0.169 302.1)
XYZxyz(29.5510, 20.7417, 66.0520)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765D6 #A4D665
analogous
#656CD6 #9765D6 #D065D6
triadic
#9765D6 #D69765 #65D697
tetradic
#9765D6 #D6656C #A4D665 #65D6D0
square
#9765D6 #D6656C #A4D665 #65D6D0
split-complementary
#9765D6 #D6D065 #6CD665
monochromatic
#5A2898 #7635C8 #9765D6 #B895E3 #D8C6F0

Accessibility & contrast

On white

4.08
#9765D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9765D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765D6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765D6#FFFFFF#000000##000000
##9765D61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDA
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#8B7A94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9765d6;
/* rgb */ color: rgb(151, 101, 214);
/* oklch */ color: oklch(61.0% 0.169 302.1);
Tailwind
colors: {
  custom: {
    50: '#b992e3',
    500: '#9765d6',
    950: '#000000',
  },
}
SCSS
$custom: #9765d6;
$custom-light: #b992e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9765d6",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 214
  },
  "hsl": {
    "h": 266.549,
    "s": 57.949,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.16934,
    "h": 302.1
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#9765D6
secondary
#CEE0B6
accent
#C6207C
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #9765D6

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

Preview Lab → · Contrast checker → · Palette generator →

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