#9765E2#9765E2

#9765E2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.184 H 299.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9765E2
RGBrgb(151, 101, 226)
HSLhsl(264, 68%, 64%)
HSVhsv(264, 55%, 89%)
CMYKcmyk(33.2%, 55.3%, 0%, 11.4%)
CIE-LABlab(53.36, 45.73, -56.59)
CIE-LCHlch(53.36, 72.75, 308.94°)
OKLaboklab(61.72% 0.0904 -0.1601)
OKLCHoklch(61.72% 0.184 299.4)
XYZxyz(31.1403, 21.3774, 74.4224)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765E2 #B0E265
analogous
#6572E2 #9765E2 #D665E2
triadic
#9765E2 #E29765 #65E297
tetradic
#9765E2 #E26572 #B0E265 #65E2D6
square
#9765E2 #E26572 #B0E265 #65E2D6
split-complementary
#9765E2 #E2D665 #72E265
monochromatic
#5820AC #7431D8 #9765E2 #BA99EC #DDCCF5

Accessibility & contrast

On white

3.98
#9765E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9765E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765E2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765E2#FFFFFF#000000##000000
##9765E21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#417EDF
Tritanopia (blue-blind)
#877E9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9765e2;
/* rgb */ color: rgb(151, 101, 226);
/* oklch */ color: oklch(61.7% 0.184 299.4);
Tailwind
colors: {
  custom: {
    50: '#b992ec',
    500: '#9765e2',
    950: '#000000',
  },
}
SCSS
$custom: #9765e2;
$custom-light: #b992ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9765e2",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 226
  },
  "hsl": {
    "h": 264,
    "s": 68.306,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.18388,
    "h": 299.4
  },
  "luminance": 0.21378
}

Semantic roles & 50–950 ramp

primary
#9765E2
secondary
#D6E7BC
accent
#D01585
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9765E2

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

Preview Lab → · Contrast checker → · Palette generator →

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