#9C7DF7#9C7DF7

#9C7DF7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.4% C 0.175 H 292.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C7DF7
RGBrgb(156, 125, 247)
HSLhsl(255, 88%, 73%)
HSVhsv(255, 49%, 97%)
CMYKcmyk(36.8%, 49.4%, 0%, 3.1%)
CIE-LABlab(60.29, 38.94, -57.18)
CIE-LCHlch(60.29, 69.18, 304.25°)
OKLaboklab(67.36% 0.0679 -0.1617)
OKLCHoklch(67.36% 0.175 292.8)
XYZxyz(37.8280, 28.4497, 91.4759)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7DF7 #D8F77D
analogous
#7D9BF7 #9C7DF7 #D97DF7
triadic
#9C7DF7 #F79C7D #7DF79C
tetradic
#9C7DF7 #F77D9B #D8F77D #7DF7D9
square
#9C7DF7 #F77D9B #D8F77D #7DF7D9
split-complementary
#9C7DF7 #F7D97D #9BF77D
monochromatic
#470EEB #7043F3 #9C7DF7 #C8B7FB #E9E2FD

Accessibility & contrast

On white

3.14
#9C7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9C7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7DF7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7DF7#FFFFFF#000000##000000
##9C7DF71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#8595AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c7df7;
/* rgb */ color: rgb(156, 125, 247);
/* oklch */ color: oklch(67.4% 0.175 292.8);
Tailwind
colors: {
  custom: {
    50: '#bda3fa',
    500: '#9c7df7',
    950: '#000000',
  },
}
SCSS
$custom: #9c7df7;
$custom-light: #bda3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7df7",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 255.246,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67359,
    "c": 0.1754,
    "h": 292.8
  },
  "luminance": 0.28451
}

Semantic roles & 50–950 ramp

primary
#9C7DF7
secondary
#EDF5D6
accent
#E500AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9C7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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