#9C7DF1#9C7DF1

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

Color values

HEX#9C7DF1
RGBrgb(156, 125, 241)
HSLhsl(256, 81%, 72%)
HSVhsv(256, 48%, 95%)
CMYKcmyk(35.3%, 48.1%, 0%, 5.5%)
CIE-LABlab(59.97, 37.37, -54.38)
CIE-LCHlch(59.97, 65.99, 304.50°)
OKLaboklab(67.01% 0.0674 -0.1535)
OKLCHoklch(67.01% 0.168 293.7)
XYZxyz(36.9170, 28.0853, 86.6780)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7DF1 #D2F17D
analogous
#7D98F1 #9C7DF1 #D67DF1
triadic
#9C7DF1 #F19C7D #7DF19C
tetradic
#9C7DF1 #F17D98 #D2F17D #7DF1D6
square
#9C7DF1 #F17D98 #D2F17D #7DF1D6
split-complementary
#9C7DF1 #F1D67D #98F17D
monochromatic
#4C18DC #7246EB #9C7DF1 #C6B4F7 #EAE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C7DF1#FFFFFF#000000##000000
##9C7DF11.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)
#5392F5
Deuteranopia (green-blind)
#588FEE
Tritanopia (blue-blind)
#8894AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c7df1;
/* rgb */ color: rgb(156, 125, 241);
/* oklch */ color: oklch(67.0% 0.168 293.7);
Tailwind
colors: {
  custom: {
    50: '#bda3f6',
    500: '#9c7df1',
    950: '#000000',
  },
}
SCSS
$custom: #9c7df1;
$custom-light: #bda3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7df1",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 256.034,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67008,
    "c": 0.16767,
    "h": 293.7
  },
  "luminance": 0.28086
}

Semantic roles & 50–950 ramp

primary
#9C7DF1
secondary
#ECF4D6
accent
#DD09A4
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9C7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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