#9F60CC#9F60CC

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

Color values

HEX#9F60CC
RGBrgb(159, 96, 204)
HSLhsl(275, 51%, 59%)
HSVhsv(275, 53%, 80%)
CMYKcmyk(22.1%, 52.9%, 0%, 20%)
CIE-LABlab(51.95, 45.19, -46.31)
CIE-LCHlch(51.95, 64.71, 314.30°)
OKLaboklab(60.47% 0.1058 -0.1298)
OKLCHoklch(60.47% 0.168 309.2)
XYZxyz(29.3779, 20.0968, 59.4465)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F60CC #8DCC60
analogous
#6960CC #9F60CC #CC60C3
triadic
#9F60CC #CC9F60 #60CC9F
tetradic
#9F60CC #CC6960 #8DCC60 #60C3CC
square
#9F60CC #CC6960 #8DCC60 #60C3CC
split-complementary
#9F60CC #C3CC60 #60CC69
monochromatic
#602B86 #823AB5 #9F60CC #BB8EDB #D7BDEA

Accessibility & contrast

On white

4.18
#9F60CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9F60CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F60CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F60CC#FFFFFF#000000##000000
##9F60CC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#99738D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f60cc;
/* rgb */ color: rgb(159, 96, 204);
/* oklch */ color: oklch(60.5% 0.168 309.2);
Tailwind
colors: {
  custom: {
    50: '#be8fdc',
    500: '#9f60cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f60cc;
$custom-light: #be8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f60cc",
  "rgb": {
    "r": 159,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 275,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.1675,
    "h": 309.2
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#9F60CC
secondary
#C0D9AF
accent
#DB4D88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9F60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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