#9F5FCF#9F5FCF

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

Color values

HEX#9F5FCF
RGBrgb(159, 95, 207)
HSLhsl(274, 54%, 59%)
HSVhsv(274, 54%, 81%)
CMYKcmyk(23.2%, 54.1%, 0%, 18.8%)
CIE-LABlab(51.91, 46.41, -48.09)
CIE-LCHlch(51.91, 66.83, 313.98°)
OKLaboklab(60.49% 0.1074 -0.135)
OKLCHoklch(60.49% 0.172 308.5)
XYZxyz(29.6506, 20.0608, 61.3295)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FCF #8FCF5F
analogous
#675FCF #9F5FCF #CF5FC7
triadic
#9F5FCF #CF9F5F #5FCF9F
tetradic
#9F5FCF #CF675F #8FCF5F #5FC7CF
square
#9F5FCF #CF675F #8FCF5F #5FC7CF
split-complementary
#9F5FCF #C7CF5F #5FCF67
monochromatic
#61298A #8238B9 #9F5FCF #BB8EDD #D7BDEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F5FCF#FFFFFF#000000##000000
##9F5FCF1.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)
#3C79D3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#98738E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f5fcf;
/* rgb */ color: rgb(159, 95, 207);
/* oklch */ color: oklch(60.5% 0.172 308.5);
Tailwind
colors: {
  custom: {
    50: '#be8fde',
    500: '#9f5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #9f5fcf;
$custom-light: #be8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5fcf",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 274.286,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.17249,
    "h": 308.5
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#9F5FCF
secondary
#C2DBAF
accent
#DD4B89
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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