#9F65EC#9F65EC

#9F65EC is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.197 H 300.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F65EC
RGBrgb(159, 101, 236)
HSLhsl(266, 78%, 66%)
HSVhsv(266, 57%, 93%)
CMYKcmyk(32.6%, 57.2%, 0%, 7.5%)
CIE-LABlab(54.80, 50.08, -59.85)
CIE-LCHlch(54.80, 78.04, 309.92°)
OKLaboklab(63.15% 0.1006 -0.1695)
OKLCHoklch(63.15% 0.197 300.7)
XYZxyz(34.0885, 22.7342, 81.9329)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F65EC #B2EC65
analogous
#656EEC #9F65EC #E365EC
triadic
#9F65EC #EC9F65 #65EC9F
tetradic
#9F65EC #EC656E #B2EC65 #65ECE3
square
#9F65EC #EC656E #B2EC65 #65ECE3
split-complementary
#9F65EC #ECE365 #6EEC65
monochromatic
#6018BF #7D2FE5 #9F65EC #C19BF3 #E3D2F9

Accessibility & contrast

On white

3.79
#9F65EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9F65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F65EC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F65EC#FFFFFF#000000##000000
##9F65EC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F0
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#8F819F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f65ec;
/* rgb */ color: rgb(159, 101, 236);
/* oklch */ color: oklch(63.2% 0.197 300.7);
Tailwind
colors: {
  custom: {
    50: '#bf93f3',
    500: '#9f65ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f65ec;
$custom-light: #bf93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f65ec",
  "rgb": {
    "r": 159,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 265.778,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63155,
    "c": 0.19708,
    "h": 300.7
  },
  "luminance": 0.22734
}

Semantic roles & 50–950 ramp

primary
#9F65EC
secondary
#DAEDC0
accent
#DA0B81
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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