#9E65CD#9E65CD

#9E65CD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.160 H 307.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9E65CD
RGBrgb(158, 101, 205)
HSLhsl(273, 51%, 60%)
HSVhsv(273, 51%, 80%)
CMYKcmyk(22.9%, 50.7%, 0%, 19.6%)
CIE-LABlab(52.93, 42.44, -45.33)
CIE-LCHlch(52.93, 62.10, 313.12°)
OKLaboklab(61.19% 0.0979 -0.127)
OKLCHoklch(61.19% 0.16 307.6)
XYZxyz(29.7715, 20.9846, 60.2278)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E65CD #94CD65
analogous
#6A65CD #9E65CD #CD65C8
triadic
#9E65CD #CD9E65 #65CD9E
tetradic
#9E65CD #CD6A65 #94CD65 #65C8CD
square
#9E65CD #CD6A65 #94CD65 #65C8CD
split-complementary
#9E65CD #C8CD65 #65CD6A
monochromatic
#602D8B #803CB9 #9E65CD #BB93DC #D8C1EB

Accessibility & contrast

On white

4.04
#9E65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9E65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E65CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E65CD#FFFFFF#000000##000000
##9E65CD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#977790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e65cd;
/* rgb */ color: rgb(158, 101, 205);
/* oklch */ color: oklch(61.2% 0.160 307.6);
Tailwind
colors: {
  custom: {
    50: '#bd92dd',
    500: '#9e65cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e65cd;
$custom-light: #bd92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e65cd",
  "rgb": {
    "r": 158,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 272.885,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.16036,
    "h": 307.6
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#9E65CD
secondary
#C5DBB3
accent
#DA4D8D
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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