#9F65CD#9F65CD

#9F65CD is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.3% C 0.161 H 308.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9F65CD
RGBrgb(159, 101, 205)
HSLhsl(273, 51%, 60%)
HSVhsv(273, 51%, 80%)
CMYKcmyk(22.4%, 50.7%, 0%, 19.6%)
CIE-LABlab(53.04, 42.71, -45.14)
CIE-LCHlch(53.04, 62.15, 313.42°)
OKLaboklab(61.3% 0.0992 -0.1264)
OKLCHoklch(61.3% 0.161 308.1)
XYZxyz(29.9690, 21.0864, 60.2371)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F65CD #93CD65
analogous
#6B65CD #9F65CD #CD65C7
triadic
#9F65CD #CD9F65 #65CD9F
tetradic
#9F65CD #CD6B65 #93CD65 #65C7CD
square
#9F65CD #CD6B65 #93CD65 #65C7CD
split-complementary
#9F65CD #C7CD65 #65CD6B
monochromatic
#612D8B #823CB9 #9F65CD #BC93DC #D9C1EB

Accessibility & contrast

On white

4.03
#9F65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9F65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F65CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F65CD#FFFFFF#000000##000000
##9F65CD1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#987790
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f65cd;
/* rgb */ color: rgb(159, 101, 205);
/* oklch */ color: oklch(61.3% 0.161 308.1);
Tailwind
colors: {
  custom: {
    50: '#be92dd',
    500: '#9f65cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f65cd;
$custom-light: #be92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f65cd",
  "rgb": {
    "r": 159,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 273.462,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.16068,
    "h": 308.1
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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