#9B65DA#9B65DA

#9B65DA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.175 H 302.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B65DA
RGBrgb(155, 101, 218)
HSLhsl(268, 61%, 63%)
HSVhsv(268, 54%, 85%)
CMYKcmyk(28.9%, 53.7%, 0%, 14.5%)
CIE-LABlab(53.32, 44.74, -52.12)
CIE-LCHlch(53.32, 68.69, 310.64°)
OKLaboklab(61.63% 0.0951 -0.1469)
OKLCHoklch(61.63% 0.175 302.9)
XYZxyz(30.8233, 21.3379, 68.8108)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B65DA #A4DA65
analogous
#656ADA #9B65DA #D565DA
triadic
#9B65DA #DA9B65 #65DA9B
tetradic
#9B65DA #DA656A #A4DA65 #65DAD5
square
#9B65DA #DA656A #A4DA65 #65DAD5
split-complementary
#9B65DA #DAD565 #6ADA65
monochromatic
#5E269F #7B34CE #9B65DA #BB96E6 #DBC8F2

Accessibility & contrast

On white

3.99
#9B65DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9B65DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B65DA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B65DA#FFFFFF#000000##000000
##9B65DA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#8F7B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b65da;
/* rgb */ color: rgb(155, 101, 218);
/* oklch */ color: oklch(61.6% 0.175 302.9);
Tailwind
colors: {
  custom: {
    50: '#bc92e6',
    500: '#9b65da',
    950: '#000000',
  },
}
SCSS
$custom: #9b65da;
$custom-light: #bc92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b65da",
  "rgb": {
    "r": 155,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 267.692,
    "s": 61.257,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.17502,
    "h": 302.9
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#9B65DA
secondary
#CFE3B8
accent
#C91D79
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B65DA

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

Preview Lab → · Contrast checker → · Palette generator →

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