#9C5FEF#9C5FEF

#9C5FEF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.2% C 0.208 H 299.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9C5FEF
RGBrgb(156, 95, 239)
HSLhsl(265, 82%, 65%)
HSVhsv(265, 60%, 94%)
CMYKcmyk(34.7%, 60.3%, 0%, 6.3%)
CIE-LABlab(53.48, 53.30, -63.67)
CIE-LCHlch(53.48, 83.03, 309.93°)
OKLaboklab(62.18% 0.1038 -0.1808)
OKLCHoklch(62.18% 0.208 299.9)
XYZxyz(33.3787, 21.4841, 84.0329)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5FEF #B2EF5F
analogous
#5F6AEF #9C5FEF #E45FEF
triadic
#9C5FEF #EF9C5F #5FEF9C
tetradic
#9C5FEF #EF5F6A #B2EF5F #5FEFE4
square
#9C5FEF #EF5F6A #B2EF5F #5FEFE4
split-complementary
#9C5FEF #EFE45F #6AEF5F
monochromatic
#5D13C0 #7A27E9 #9C5FEF #BE97F5 #E1CEFA

Accessibility & contrast

On white

3.96
#9C5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9C5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5FEF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5FEF#FFFFFF#000000##000000
##9C5FEF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#2B7FEC
Tritanopia (blue-blind)
#8A7E9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5fef;
/* rgb */ color: rgb(156, 95, 239);
/* oklch */ color: oklch(62.2% 0.208 299.9);
Tailwind
colors: {
  custom: {
    50: '#be8ff5',
    500: '#9c5fef',
    950: '#000000',
  },
}
SCSS
$custom: #9c5fef;
$custom-light: #be8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5fef",
  "rgb": {
    "r": 156,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 265.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.20844,
    "h": 299.9
  },
  "luminance": 0.21484
}

Semantic roles & 50–950 ramp

primary
#9C5FEF
secondary
#D9EDBD
accent
#DE0783
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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