#9C5DF0#9C5DF0

#9C5DF0 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.212 H 300.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9C5DF0
RGBrgb(156, 93, 240)
HSLhsl(266, 83%, 65%)
HSVhsv(266, 61%, 94%)
CMYKcmyk(35%, 61.2%, 0%, 5.9%)
CIE-LABlab(53.15, 54.58, -64.75)
CIE-LCHlch(53.15, 84.68, 310.13°)
OKLaboklab(61.96% 0.106 -0.1839)
OKLCHoklch(61.96% 0.212 300)
XYZxyz(33.3490, 21.1876, 84.7538)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DF0 #B1F05D
analogous
#5D68F0 #9C5DF0 #E55DF0
triadic
#9C5DF0 #F09C5D #5DF09C
tetradic
#9C5DF0 #F05D68 #B1F05D #5DF0E5
square
#9C5DF0 #F05D68 #B1F05D #5DF0E5
split-complementary
#9C5DF0 #F0E55D #68F05D
monochromatic
#5D12C1 #7A25EB #9C5DF0 #BE95F5 #E0CDFA

Accessibility & contrast

On white

4.01
#9C5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9C5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DF0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DF0#FFFFFF#000000##000000
##9C5DF01.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#247EED
Tritanopia (blue-blind)
#8A7D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5df0;
/* rgb */ color: rgb(156, 93, 240);
/* oklch */ color: oklch(62.0% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#be8ef6',
    500: '#9c5df0',
    950: '#000000',
  },
}
SCSS
$custom: #9c5df0;
$custom-light: #be8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5df0",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 265.714,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.21229,
    "h": 300
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#9C5DF0
secondary
#D8EDBC
accent
#DF0682
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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