#9B65BB#9B65BB

#9B65BB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.9% C 0.138 H 311.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B65BB
RGBrgb(155, 101, 187)
HSLhsl(278, 39%, 56%)
HSVhsv(278, 46%, 73%)
CMYKcmyk(17.1%, 46%, 0%, 26.7%)
CIE-LABlab(51.68, 37.51, -36.99)
CIE-LCHlch(51.68, 52.68, 315.40°)
OKLaboklab(59.89% 0.092 -0.1028)
OKLCHoklch(59.89% 0.138 311.8)
XYZxyz(27.1393, 19.8643, 49.4086)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B65BB #85BB65
analogous
#7065BB #9B65BB #BB65B0
triadic
#9B65BB #BB9B65 #65BB9B
tetradic
#9B65BB #BB7065 #85BB65 #65B0BB
square
#9B65BB #BB7065 #85BB65 #65B0BB
split-complementary
#9B65BB #B0BB65 #65BB70
monochromatic
#5B3373 #7D459D #9B65BB #B78FCE #D2BAE0

Accessibility & contrast

On white

4.22
#9B65BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9B65BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B65BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B65BB#FFFFFF#000000##000000
##9B65BB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#617CB9
Tritanopia (blue-blind)
#987287
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b65bb;
/* rgb */ color: rgb(155, 101, 187);
/* oklch */ color: oklch(59.9% 0.138 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba92d0',
    500: '#9b65bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b65bb;
$custom-light: #ba92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b65bb",
  "rgb": {
    "r": 155,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 277.674,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.13797,
    "h": 311.8
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#9B65BB
secondary
#B9D0AC
accent
#CF5985
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9B65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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