#9C7CF5#9C7CF5

#9C7CF5 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.1% C 0.174 H 293.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9C7CF5
RGBrgb(156, 124, 245)
HSLhsl(256, 86%, 72%)
HSVhsv(256, 49%, 96%)
CMYKcmyk(36.3%, 49.4%, 0%, 3.9%)
CIE-LABlab(59.96, 38.98, -56.61)
CIE-LCHlch(59.96, 68.73, 304.55°)
OKLaboklab(67.07% 0.069 -0.1601)
OKLCHoklch(67.07% 0.174 293.3)
XYZxyz(37.3951, 28.0750, 89.8173)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7CF5 #D5F57C
analogous
#7C98F5 #9C7CF5 #D97CF5
triadic
#9C7CF5 #F59C7C #7CF59C
tetradic
#9C7CF5 #F57C98 #D5F57C #7CF5D9
square
#9C7CF5 #F57C98 #D5F57C #7CF5D9
split-complementary
#9C7CF5 #F5D97C #98F57C
monochromatic
#4911E5 #7143F1 #9C7CF5 #C7B5F9 #EAE3FD

Accessibility & contrast

On white

3.17
#9C7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#9C7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7CF5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7CF5#FFFFFF#000000##000000
##9C7CF51.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#8694AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c7cf5;
/* rgb */ color: rgb(156, 124, 245);
/* oklch */ color: oklch(67.1% 0.174 293.3);
Tailwind
colors: {
  custom: {
    50: '#bda2f9',
    500: '#9c7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9c7cf5;
$custom-light: #bda2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7cf5",
  "rgb": {
    "r": 156,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 255.868,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67072,
    "c": 0.1743,
    "h": 293.3
  },
  "luminance": 0.28076
}

Semantic roles & 50–950 ramp

primary
#9C7CF5
secondary
#EDF5D6
accent
#E203A7
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9C7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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