#9E65CA#9E65CA

#9E65CA is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.157 H 308.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9E65CA
RGBrgb(158, 101, 202)
HSLhsl(274, 49%, 59%)
HSVhsv(274, 50%, 79%)
CMYKcmyk(21.8%, 50%, 0%, 20.8%)
CIE-LABlab(52.78, 41.75, -43.86)
CIE-LCHlch(52.78, 60.56, 313.59°)
OKLaboklab(61.02% 0.0976 -0.1227)
OKLCHoklch(61.02% 0.157 308.5)
XYZxyz(29.4128, 20.8411, 58.3389)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E65CA #91CA65
analogous
#6C65CA #9E65CA #CA65C4
triadic
#9E65CA #CA9E65 #65CA9E
tetradic
#9E65CA #CA6C65 #91CA65 #65C4CA
square
#9E65CA #CA6C65 #91CA65 #65C4CA
split-complementary
#9E65CA #C4CA65 #65CA6C
monochromatic
#602E86 #803EB4 #9E65CA #BB93DA #D7C0E9

Accessibility & contrast

On white

4.06
#9E65CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9E65CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E65CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E65CA#FFFFFF#000000##000000
##9E65CA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCD
Deuteranopia (green-blind)
#5A7FC7
Tritanopia (blue-blind)
#98768E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e65ca;
/* rgb */ color: rgb(158, 101, 202);
/* oklch */ color: oklch(61.0% 0.157 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd92da',
    500: '#9e65ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e65ca;
$custom-light: #bd92da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e65ca",
  "rgb": {
    "r": 158,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 273.861,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.15683,
    "h": 308.5
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#9E65CA
secondary
#C3D9B2
accent
#D84F8B
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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