#9C7BF7#9C7BF7

#9C7BF7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.178 H 293.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9C7BF7
RGBrgb(156, 123, 247)
HSLhsl(256, 89%, 73%)
HSVhsv(256, 50%, 97%)
CMYKcmyk(36.8%, 50.2%, 0%, 3.1%)
CIE-LABlab(59.84, 40.07, -57.90)
CIE-LCHlch(59.84, 70.41, 304.68°)
OKLaboklab(67.02% 0.0704 -0.1638)
OKLCHoklch(67.02% 0.178 293.3)
XYZxyz(37.5773, 27.9484, 91.3924)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7BF7 #D6F77B
analogous
#7B98F7 #9C7BF7 #DA7BF7
triadic
#9C7BF7 #F79C7B #7BF79C
tetradic
#9C7BF7 #F77B98 #D6F77B #7BF7DA
square
#9C7BF7 #F77B98 #D6F77B #7BF7DA
split-complementary
#9C7BF7 #F7DA7B #98F77B
monochromatic
#490EE9 #7141F4 #9C7BF7 #C7B5FA #E9E2FD

Accessibility & contrast

On white

3.19
#9C7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9C7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7BF7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7BF7#FFFFFF#000000##000000
##9C7BF71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#8594AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c7bf7;
/* rgb */ color: rgb(156, 123, 247);
/* oklch */ color: oklch(67.0% 0.178 293.3);
Tailwind
colors: {
  custom: {
    50: '#bda2fa',
    500: '#9c7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #9c7bf7;
$custom-light: #bda2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7bf7",
  "rgb": {
    "r": 156,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 255.968,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.17832,
    "h": 293.3
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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