#9765EC#9765EC

#9765EC is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.4% C 0.196 H 297.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9765EC
RGBrgb(151, 101, 236)
HSLhsl(262, 78%, 66%)
HSVhsv(262, 57%, 93%)
CMYKcmyk(36%, 57.2%, 0%, 7.5%)
CIE-LABlab(53.97, 48.25, -61.23)
CIE-LCHlch(53.97, 77.96, 308.24°)
OKLaboklab(62.35% 0.0905 -0.1738)
OKLCHoklch(62.35% 0.196 297.5)
XYZxyz(32.5527, 21.9423, 81.8609)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765EC #BAEC65
analogous
#6576EC #9765EC #DA65EC
triadic
#9765EC #EC9765 #65EC97
tetradic
#9765EC #EC6576 #BAEC65 #65ECDA
square
#9765EC #EC6576 #BAEC65 #65ECDA
split-complementary
#9765EC #ECDA65 #76EC65
monochromatic
#5618BF #722FE5 #9765EC #BC9BF3 #E1D2F9

Accessibility & contrast

On white

3.90
#9765EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9765EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765EC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765EC#FFFFFF#000000##000000
##9765EC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#83819F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9765ec;
/* rgb */ color: rgb(151, 101, 236);
/* oklch */ color: oklch(62.4% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#ba93f3',
    500: '#9765ec',
    950: '#000000',
  },
}
SCSS
$custom: #9765ec;
$custom-light: #ba93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9765ec",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 262.222,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.19589,
    "h": 297.5
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#9765EC
secondary
#DCEDC0
accent
#DA0B8E
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9765EC

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

Preview Lab → · Contrast checker → · Palette generator →

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