#9C5EF7#9C5EF7

#9C5EF7 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.219 H 298.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9C5EF7
RGBrgb(156, 94, 247)
HSLhsl(264, 91%, 67%)
HSVhsv(264, 62%, 97%)
CMYKcmyk(36.8%, 61.9%, 0%, 3.1%)
CIE-LABlab(53.80, 55.79, -67.60)
CIE-LCHlch(53.80, 87.65, 309.53°)
OKLaboklab(62.58% 0.1045 -0.1923)
OKLCHoklch(62.58% 0.219 298.5)
XYZxyz(34.4973, 21.7883, 90.3657)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EF7 #B9F75E
analogous
#5E6DF7 #9C5EF7 #E95EF7
triadic
#9C5EF7 #F79C5E #5EF79C
tetradic
#9C5EF7 #F75E6D #B9F75E #5EF7E9
square
#9C5EF7 #F75E6D #B9F75E #5EF7E9
split-complementary
#9C5EF7 #F7E95E #6DF75E
monochromatic
#5B0AD0 #7824F4 #9C5EF7 #C098FA #E4D3FD

Accessibility & contrast

On white

3.92
#9C5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9C5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EF7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EF7#FFFFFF#000000##000000
##9C5EF71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#137FF4
Tritanopia (blue-blind)
#8780A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c5ef7;
/* rgb */ color: rgb(156, 94, 247);
/* oklch */ color: oklch(62.6% 0.219 298.5);
Tailwind
colors: {
  custom: {
    50: '#bf8ffb',
    500: '#9c5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ef7;
$custom-light: #bf8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ef7",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 264.314,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.21888,
    "h": 298.5
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

primary
#9C5EF7
secondary
#DDF1C0
accent
#E60088
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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