#9D65BB#9D65BB

#9D65BB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.1% C 0.139 H 312.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D65BB
RGBrgb(157, 101, 187)
HSLhsl(279, 39%, 56%)
HSVhsv(279, 46%, 73%)
CMYKcmyk(16%, 46%, 0%, 26.7%)
CIE-LABlab(51.91, 38.09, -36.62)
CIE-LCHlch(51.91, 52.84, 316.13°)
OKLaboklab(60.11% 0.0944 -0.1017)
OKLCHoklch(60.11% 0.139 312.9)
XYZxyz(27.5264, 20.0639, 49.4267)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D65BB #83BB65
analogous
#7265BB #9D65BB #BB65AE
triadic
#9D65BB #BB9D65 #65BB9D
tetradic
#9D65BB #BB7265 #83BB65 #65AEBB
square
#9D65BB #BB7265 #83BB65 #65AEBB
split-complementary
#9D65BB #AEBB65 #65BB72
monochromatic
#5C3373 #7F459D #9D65BB #B88FCE #D3BAE0

Accessibility & contrast

On white

4.19
#9D65BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9D65BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D65BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D65BB#FFFFFF#000000##000000
##9D65BB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#9A7287
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d65bb;
/* rgb */ color: rgb(157, 101, 187);
/* oklch */ color: oklch(60.1% 0.139 312.9);
Tailwind
colors: {
  custom: {
    50: '#bb92d0',
    500: '#9d65bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d65bb;
$custom-light: #bb92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d65bb",
  "rgb": {
    "r": 157,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 279.07,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.13881,
    "h": 312.9
  },
  "luminance": 0.20063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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