#9E65CC#9E65CC

#9E65CC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.159 H 307.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9E65CC
RGBrgb(158, 101, 204)
HSLhsl(273, 50%, 60%)
HSVhsv(273, 50%, 80%)
CMYKcmyk(22.5%, 50.5%, 0%, 20%)
CIE-LABlab(52.88, 42.21, -44.84)
CIE-LCHlch(52.88, 61.58, 313.27°)
OKLaboklab(61.13% 0.0978 -0.1256)
OKLCHoklch(61.13% 0.159 307.9)
XYZxyz(29.6512, 20.9365, 59.5941)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E65CC #93CC65
analogous
#6B65CC #9E65CC #CC65C6
triadic
#9E65CC #CC9E65 #65CC9E
tetradic
#9E65CC #CC6B65 #93CC65 #65C6CC
square
#9E65CC #CC6B65 #93CC65 #65C6CC
split-complementary
#9E65CC #C6CC65 #65CC6B
monochromatic
#602D89 #803DB7 #9E65CC #BB93DB #D8C1EA

Accessibility & contrast

On white

4.05
#9E65CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9E65CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E65CC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E65CC#FFFFFF#000000##000000
##9E65CC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#97778F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e65cc;
/* rgb */ color: rgb(158, 101, 204);
/* oklch */ color: oklch(61.1% 0.159 307.9);
Tailwind
colors: {
  custom: {
    50: '#bd92dc',
    500: '#9e65cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e65cc;
$custom-light: #bd92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e65cc",
  "rgb": {
    "r": 158,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 273.204,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.15918,
    "h": 307.9
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#9E65CC
secondary
#C4DAB2
accent
#DA4E8C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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