#9E65E7#9E65E7

#9E65E7 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.191 H 301.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9E65E7
RGBrgb(158, 101, 231)
HSLhsl(266, 73%, 65%)
HSVhsv(266, 56%, 91%)
CMYKcmyk(31.6%, 56.3%, 0%, 9.4%)
CIE-LABlab(54.39, 48.63, -57.70)
CIE-LCHlch(54.39, 75.46, 310.12°)
OKLaboklab(62.74% 0.0993 -0.1632)
OKLCHoklch(62.74% 0.191 301.3)
XYZxyz(33.1747, 22.3459, 78.1512)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E65E7 #AEE765
analogous
#656DE7 #9E65E7 #DF65E7
triadic
#9E65E7 #E79E65 #65E79E
tetradic
#9E65E7 #E7656D #AEE765 #65E7DF
square
#9E65E7 #E7656D #AEE765 #65E7DF
split-complementary
#9E65E7 #E7DF65 #6DE765
monochromatic
#5F1CB5 #7D30DF #9E65E7 #BF9AEF #E1CFF8

Accessibility & contrast

On white

3.84
#9E65E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9E65E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E65E7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E65E7#FFFFFF#000000##000000
##9E65E71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#8F7F9C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e65e7;
/* rgb */ color: rgb(158, 101, 231);
/* oklch */ color: oklch(62.7% 0.191 301.3);
Tailwind
colors: {
  custom: {
    50: '#be93ef',
    500: '#9e65e7',
    950: '#000000',
  },
}
SCSS
$custom: #9e65e7;
$custom-light: #be93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e65e7",
  "rgb": {
    "r": 158,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 266.308,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62737,
    "c": 0.19105,
    "h": 301.3
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#9E65E7
secondary
#D7EABE
accent
#D5107F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #9E65E7

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

Preview Lab → · Contrast checker → · Palette generator →

#9E65E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva