#9765EB#9765EB

#9765EB is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.3% C 0.195 H 297.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9765EB
RGBrgb(151, 101, 235)
HSLhsl(262, 77%, 66%)
HSVhsv(262, 57%, 92%)
CMYKcmyk(35.7%, 57%, 0%, 7.8%)
CIE-LABlab(53.90, 48.00, -60.77)
CIE-LCHlch(53.90, 77.44, 308.30°)
OKLaboklab(62.29% 0.0905 -0.1724)
OKLCHoklch(62.29% 0.195 297.7)
XYZxyz(32.4078, 21.8844, 81.0978)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765EB #B9EB65
analogous
#6576EB #9765EB #DA65EB
triadic
#9765EB #EB9765 #65EB97
tetradic
#9765EB #EB6576 #B9EB65 #65EBDA
square
#9765EB #EB6576 #B9EB65 #65EBDA
split-complementary
#9765EB #EBDA65 #76EB65
monochromatic
#5619BD #722FE4 #9765EB #BC9BF2 #E0D1F9

Accessibility & contrast

On white

3.91
#9765EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9765EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765EB#FFFFFF#000000##000000
##9765EB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EF
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#84819E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9765eb;
/* rgb */ color: rgb(151, 101, 235);
/* oklch */ color: oklch(62.3% 0.195 297.7);
Tailwind
colors: {
  custom: {
    50: '#ba93f2',
    500: '#9765eb',
    950: '#000000',
  },
}
SCSS
$custom: #9765eb;
$custom-light: #ba93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9765eb",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 262.388,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.1947,
    "h": 297.7
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#9765EB
secondary
#DCECC0
accent
#D90C8D
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9765EB

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

Preview Lab → · Contrast checker → · Palette generator →

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