#9F65CE#9F65CE

#9F65CE is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.162 H 307.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F65CE
RGBrgb(159, 101, 206)
HSLhsl(273, 52%, 60%)
HSVhsv(273, 51%, 81%)
CMYKcmyk(22.8%, 51%, 0%, 19.2%)
CIE-LABlab(53.10, 42.94, -45.63)
CIE-LCHlch(53.10, 62.66, 313.26°)
OKLaboklab(61.35% 0.0993 -0.1278)
OKLCHoklch(61.35% 0.162 307.8)
XYZxyz(30.0901, 21.1349, 60.8748)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F65CE #94CE65
analogous
#6B65CE #9F65CE #CE65C8
triadic
#9F65CE #CE9F65 #65CE9F
tetradic
#9F65CE #CE6B65 #94CE65 #65C8CE
square
#9F65CE #CE6B65 #94CE65 #65C8CE
split-complementary
#9F65CE #C8CE65 #65CE6B
monochromatic
#612D8C #823BBA #9F65CE #BC93DD #D9C2EC

Accessibility & contrast

On white

4.02
#9F65CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9F65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F65CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F65CE#FFFFFF#000000##000000
##9F65CE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD2
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#987790
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f65ce;
/* rgb */ color: rgb(159, 101, 206);
/* oklch */ color: oklch(61.4% 0.162 307.8);
Tailwind
colors: {
  custom: {
    50: '#be92dd',
    500: '#9f65ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f65ce;
$custom-light: #be92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f65ce",
  "rgb": {
    "r": 159,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 273.143,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.16186,
    "h": 307.8
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#9F65CE
secondary
#C5DCB3
accent
#BF266B
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9F65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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