#9F60CB#9F60CB

#9F60CB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.166 H 309.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9F60CB
RGBrgb(159, 96, 203)
HSLhsl(275, 51%, 59%)
HSVhsv(275, 53%, 80%)
CMYKcmyk(21.7%, 52.7%, 0%, 20.4%)
CIE-LABlab(51.89, 44.96, -45.83)
CIE-LCHlch(51.89, 64.20, 314.46°)
OKLaboklab(60.41% 0.1058 -0.1284)
OKLCHoklch(60.41% 0.166 309.5)
XYZxyz(29.2584, 20.0489, 58.8168)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F60CB #8CCB60
analogous
#6960CB #9F60CB #CB60C1
triadic
#9F60CB #CB9F60 #60CB9F
tetradic
#9F60CB #CB6960 #8CCB60 #60C1CB
square
#9F60CB #CB6960 #8CCB60 #60C1CB
split-complementary
#9F60CB #C1CB60 #60CB69
monochromatic
#602C85 #823BB3 #9F60CB #BB8EDA #D7BCE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F60CB#FFFFFF#000000##000000
##9F60CB1.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)
#4179CF
Deuteranopia (green-blind)
#557DC8
Tritanopia (blue-blind)
#99728C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f60cb;
/* rgb */ color: rgb(159, 96, 203);
/* oklch */ color: oklch(60.4% 0.166 309.5);
Tailwind
colors: {
  custom: {
    50: '#be8fdb',
    500: '#9f60cb',
    950: '#000000',
  },
}
SCSS
$custom: #9f60cb;
$custom-light: #be8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f60cb",
  "rgb": {
    "r": 159,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 275.327,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.16636,
    "h": 309.5
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#9F60CB
secondary
#C0D9AE
accent
#DA4E87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9F60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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