#9D7DF7#9D7DF7

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

Color values

HEX#9D7DF7
RGBrgb(157, 125, 247)
HSLhsl(256, 88%, 73%)
HSVhsv(256, 49%, 97%)
CMYKcmyk(36.4%, 49.4%, 0%, 3.1%)
CIE-LABlab(60.38, 39.18, -57.03)
CIE-LCHlch(60.38, 69.19, 304.49°)
OKLaboklab(67.45% 0.0691 -0.1613)
OKLCHoklch(67.45% 0.175 293.2)
XYZxyz(38.0223, 28.5499, 91.4851)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7DF7 #D7F77D
analogous
#7D9AF7 #9D7DF7 #DA7DF7
triadic
#9D7DF7 #F79D7D #7DF79D
tetradic
#9D7DF7 #F77D9A #D7F77D #7DF7DA
square
#9D7DF7 #F77D9A #D7F77D #7DF7DA
split-complementary
#9D7DF7 #F7DA7D #9AF77D
monochromatic
#480EEB #7243F3 #9D7DF7 #C8B7FB #E9E2FD

Accessibility & contrast

On white

3.13
#9D7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9D7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7DF7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7DF7#FFFFFF#000000##000000
##9D7DF71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#8795AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d7df7;
/* rgb */ color: rgb(157, 125, 247);
/* oklch */ color: oklch(67.4% 0.175 293.2);
Tailwind
colors: {
  custom: {
    50: '#bea3fa',
    500: '#9d7df7',
    950: '#000000',
  },
}
SCSS
$custom: #9d7df7;
$custom-light: #bea3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7df7",
  "rgb": {
    "r": 157,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 255.738,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.17545,
    "h": 293.2
  },
  "luminance": 0.28551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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