#9C65CD#9C65CD

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

Color values

HEX#9C65CD
RGBrgb(156, 101, 205)
HSLhsl(272, 51%, 60%)
HSVhsv(272, 51%, 80%)
CMYKcmyk(23.9%, 50.7%, 0%, 19.6%)
CIE-LABlab(52.71, 41.91, -45.69)
CIE-LCHlch(52.71, 62.00, 312.53°)
OKLaboklab(60.98% 0.0954 -0.1281)
OKLCHoklch(60.98% 0.16 306.7)
XYZxyz(29.3812, 20.7833, 60.2095)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C65CD #96CD65
analogous
#6865CD #9C65CD #CD65CA
triadic
#9C65CD #CD9C65 #65CD9C
tetradic
#9C65CD #CD6865 #96CD65 #65CACD
square
#9C65CD #CD6865 #96CD65 #65CACD
split-complementary
#9C65CD #CACD65 #65CD68
monochromatic
#5F2D8B #7E3CB9 #9C65CD #BA93DC #D7C1EB

Accessibility & contrast

On white

4.07
#9C65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9C65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C65CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C65CD#FFFFFF#000000##000000
##9C65CD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#947790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c65cd;
/* rgb */ color: rgb(156, 101, 205);
/* oklch */ color: oklch(61.0% 0.160 306.7);
Tailwind
colors: {
  custom: {
    50: '#bc92dd',
    500: '#9c65cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c65cd;
$custom-light: #bc92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c65cd",
  "rgb": {
    "r": 156,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 271.731,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.15975,
    "h": 306.7
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

primary
#9C65CD
secondary
#C6DBB3
accent
#DA4D90
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9C65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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