#9B65EC#9B65EC

#9B65EC is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.196 H 299.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9B65EC
RGBrgb(155, 101, 236)
HSLhsl(264, 78%, 66%)
HSVhsv(264, 57%, 93%)
CMYKcmyk(34.3%, 57.2%, 0%, 7.5%)
CIE-LABlab(54.38, 49.16, -60.55)
CIE-LCHlch(54.38, 77.99, 309.08°)
OKLaboklab(62.75% 0.0955 -0.1716)
OKLCHoklch(62.75% 0.196 299.1)
XYZxyz(33.3079, 22.3317, 81.8963)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B65EC #B6EC65
analogous
#6572EC #9B65EC #DE65EC
triadic
#9B65EC #EC9B65 #65EC9B
tetradic
#9B65EC #EC6572 #B6EC65 #65ECDE
square
#9B65EC #EC6572 #B6EC65 #65ECDE
split-complementary
#9B65EC #ECDE65 #72EC65
monochromatic
#5B18BF #782FE5 #9B65EC #BE9BF3 #E2D2F9

Accessibility & contrast

On white

3.84
#9B65EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9B65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B65EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B65EC#FFFFFF#000000##000000
##9B65EC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#89819F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9b65ec;
/* rgb */ color: rgb(155, 101, 236);
/* oklch */ color: oklch(62.8% 0.196 299.1);
Tailwind
colors: {
  custom: {
    50: '#bd93f3',
    500: '#9b65ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b65ec;
$custom-light: #bd93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b65ec",
  "rgb": {
    "r": 155,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.19644,
    "h": 299.1
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#9B65EC
secondary
#DBEDC0
accent
#DA0B87
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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