#9A65EB#9A65EB

#9A65EB is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.195 H 298.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9A65EB
RGBrgb(154, 101, 235)
HSLhsl(264, 77%, 66%)
HSVhsv(264, 57%, 92%)
CMYKcmyk(34.5%, 57%, 0%, 7.8%)
CIE-LABlab(54.21, 48.68, -60.26)
CIE-LCHlch(54.21, 77.46, 308.94°)
OKLaboklab(62.59% 0.0943 -0.1708)
OKLCHoklch(62.59% 0.195 298.9)
XYZxyz(32.9718, 22.1752, 81.1243)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A65EB #B6EB65
analogous
#6573EB #9A65EB #DD65EB
triadic
#9A65EB #EB9A65 #65EB9A
tetradic
#9A65EB #EB6573 #B6EB65 #65EBDD
square
#9A65EB #EB6573 #B6EB65 #65EBDD
split-complementary
#9A65EB #EBDD65 #73EB65
monochromatic
#5A19BD #762FE4 #9A65EB #BE9BF2 #E1D1F9

Accessibility & contrast

On white

3.86
#9A65EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9A65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A65EB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A65EB#FFFFFF#000000##000000
##9A65EB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#88819E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a65eb;
/* rgb */ color: rgb(154, 101, 235);
/* oklch */ color: oklch(62.6% 0.195 298.9);
Tailwind
colors: {
  custom: {
    50: '#bc93f2',
    500: '#9a65eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a65eb;
$custom-light: #bc93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a65eb",
  "rgb": {
    "r": 154,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 263.731,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.19511,
    "h": 298.9
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#9A65EB
secondary
#DBECC0
accent
#D90C88
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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