#9765E6#9765E6

#9765E6 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.189 H 298.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9765E6
RGBrgb(151, 101, 230)
HSLhsl(263, 72%, 65%)
HSVhsv(263, 56%, 90%)
CMYKcmyk(34.3%, 56.1%, 0%, 9.8%)
CIE-LABlab(53.60, 46.73, -58.45)
CIE-LCHlch(53.60, 74.84, 308.64°)
OKLaboklab(61.97% 0.0904 -0.1656)
OKLCHoklch(61.97% 0.189 298.6)
XYZxyz(31.6956, 21.5995, 77.3468)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765E6 #B4E665
analogous
#6573E6 #9765E6 #D865E6
triadic
#9765E6 #E69765 #65E697
tetradic
#9765E6 #E66573 #B4E665 #65E6D8
square
#9765E6 #E66573 #B4E665 #65E6D8
split-complementary
#9765E6 #E6D865 #73E665
monochromatic
#571DB3 #7330DD #9765E6 #BB9AEF #DECEF7

Accessibility & contrast

On white

3.95
#9765E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9765E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765E6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765E6#FFFFFF#000000##000000
##9765E61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980EA
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#867F9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9765e6;
/* rgb */ color: rgb(151, 101, 230);
/* oklch */ color: oklch(62.0% 0.189 298.6);
Tailwind
colors: {
  custom: {
    50: '#ba93ef',
    500: '#9765e6',
    950: '#000000',
  },
}
SCSS
$custom: #9765e6;
$custom-light: #ba93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9765e6",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 263.256,
    "s": 72.067,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.1887,
    "h": 298.6
  },
  "luminance": 0.216
}

Semantic roles & 50–950 ramp

primary
#9765E6
secondary
#D8E9BD
accent
#D41189
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765E6

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

Preview Lab → · Contrast checker → · Palette generator →

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