#9F65BB#9F65BB

#9F65BB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.3% C 0.140 H 313.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9F65BB
RGBrgb(159, 101, 187)
HSLhsl(280, 39%, 56%)
HSVhsv(280, 46%, 73%)
CMYKcmyk(15%, 46%, 0%, 26.7%)
CIE-LABlab(52.14, 38.68, -36.25)
CIE-LCHlch(52.14, 53.01, 316.86°)
OKLaboklab(60.33% 0.0969 -0.1006)
OKLCHoklch(60.33% 0.14 313.9)
XYZxyz(27.9199, 20.2668, 49.4452)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F65BB #81BB65
analogous
#7465BB #9F65BB #BB65AC
triadic
#9F65BB #BB9F65 #65BB9F
tetradic
#9F65BB #BB7465 #81BB65 #65ACBB
square
#9F65BB #BB7465 #81BB65 #65ACBB
split-complementary
#9F65BB #ACBB65 #65BB74
monochromatic
#5E3373 #81459D #9F65BB #B98FCE #D4BAE0

Accessibility & contrast

On white

4.16
#9F65BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9F65BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F65BB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F65BB#FFFFFF#000000##000000
##9F65BB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#9D7287
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f65bb;
/* rgb */ color: rgb(159, 101, 187);
/* oklch */ color: oklch(60.3% 0.140 313.9);
Tailwind
colors: {
  custom: {
    50: '#bd92d0',
    500: '#9f65bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f65bb;
$custom-light: #bd92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f65bb",
  "rgb": {
    "r": 159,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 280.465,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.13968,
    "h": 313.9
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#9F65BB
secondary
#B8D0AC
accent
#CF597F
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9F65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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