#9B65DB#9B65DB

#9B65DB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.176 H 302.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9B65DB
RGBrgb(155, 101, 219)
HSLhsl(267, 62%, 63%)
HSVhsv(267, 54%, 86%)
CMYKcmyk(29.2%, 53.9%, 0%, 14.1%)
CIE-LABlab(53.37, 44.98, -52.59)
CIE-LCHlch(53.37, 69.20, 310.54°)
OKLaboklab(61.69% 0.0952 -0.1483)
OKLCHoklch(61.69% 0.176 302.7)
XYZxyz(30.9545, 21.3904, 69.5021)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B65DB #A5DB65
analogous
#656ADB #9B65DB #D665DB
triadic
#9B65DB #DB9B65 #65DB9B
tetradic
#9B65DB #DB656A #A5DB65 #65DBD6
square
#9B65DB #DB656A #A5DB65 #65DBD6
split-complementary
#9B65DB #DBD665 #6ADB65
monochromatic
#5E25A0 #7B33CF #9B65DB #BB97E7 #DBC8F2

Accessibility & contrast

On white

3.98
#9B65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9B65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B65DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B65DB#FFFFFF#000000##000000
##9B65DB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#8F7C96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b65db;
/* rgb */ color: rgb(155, 101, 219);
/* oklch */ color: oklch(61.7% 0.176 302.7);
Tailwind
colors: {
  custom: {
    50: '#bc93e7',
    500: '#9b65db',
    950: '#000000',
  },
}
SCSS
$custom: #9b65db;
$custom-light: #bc93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b65db",
  "rgb": {
    "r": 155,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 267.458,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.17622,
    "h": 302.7
  },
  "luminance": 0.2139
}

Semantic roles & 50–950 ramp

primary
#9B65DB
secondary
#D0E3B9
accent
#CA1C7A
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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