#9F5CBF#9F5CBF

#9F5CBF is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.1% C 0.159 H 313.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9F5CBF
RGBrgb(159, 92, 191)
HSLhsl(281, 44%, 55%)
HSVhsv(281, 52%, 75%)
CMYKcmyk(16.8%, 51.8%, 0%, 25.1%)
CIE-LABlab(50.44, 44.44, -41.24)
CIE-LCHlch(50.44, 60.63, 317.14°)
OKLaboklab(59.13% 0.1102 -0.115)
OKLCHoklch(59.13% 0.159 313.8)
XYZxyz(27.5276, 18.7875, 51.4564)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5CBF #7CBF5C
analogous
#6D5CBF #9F5CBF #BF5CAD
triadic
#9F5CBF #BF9F5C #5CBF9F
tetradic
#9F5CBF #BF6D5C #7CBF5C #5CADBF
square
#9F5CBF #BF6D5C #7CBF5C #5CADBF
split-complementary
#9F5CBF #ADBF5C #5CBF6D
monochromatic
#5D2D73 #803F9F #9F5CBF #B988D0 #D3B4E2

Accessibility & contrast

On white

4.41
#9F5CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9F5CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5CBF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5CBF#FFFFFF#000000##000000
##9F5CBF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#597ABC
Tritanopia (blue-blind)
#9C6C85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f5cbf;
/* rgb */ color: rgb(159, 92, 191);
/* oklch */ color: oklch(59.1% 0.159 313.8);
Tailwind
colors: {
  custom: {
    50: '#bd8cd3',
    500: '#9f5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #9f5cbf;
$custom-light: #bd8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5cbf",
  "rgb": {
    "r": 159,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 280.606,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.15926,
    "h": 313.8
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#9F5CBF
secondary
#B4D0A7
accent
#D3547D
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9F5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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