#9D7FF7#9D7FF7

#9D7FF7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.173 H 292.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D7FF7
RGBrgb(157, 127, 247)
HSLhsl(255, 88%, 73%)
HSVhsv(255, 49%, 97%)
CMYKcmyk(36.4%, 48.6%, 0%, 3.1%)
CIE-LABlab(60.84, 38.05, -56.31)
CIE-LCHlch(60.84, 67.96, 304.05°)
OKLaboklab(67.79% 0.0666 -0.1591)
OKLCHoklch(67.79% 0.173 292.7)
XYZxyz(38.2781, 29.0614, 91.5703)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7FF7 #D9F77F
analogous
#7F9DF7 #9D7FF7 #D97FF7
triadic
#9D7FF7 #F79D7F #7FF79D
tetradic
#9D7FF7 #F77F9D #D9F77F #7FF7D9
square
#9D7FF7 #F77F9D #D9F77F #7FF7D9
split-complementary
#9D7FF7 #F7D97F #9DF77F
monochromatic
#460FED #7145F3 #9D7FF7 #C9B9FB #E9E2FD

Accessibility & contrast

On white

3.08
#9D7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#9D7FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7FF7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7FF7#FFFFFF#000000##000000
##9D7FF71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#8797AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d7ff7;
/* rgb */ color: rgb(157, 127, 247);
/* oklch */ color: oklch(67.8% 0.173 292.7);
Tailwind
colors: {
  custom: {
    50: '#bea4fa',
    500: '#9d7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #9d7ff7;
$custom-light: #bea4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7ff7",
  "rgb": {
    "r": 157,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 255,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.17253,
    "h": 292.7
  },
  "luminance": 0.29062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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