#9F7DF7#9F7DF7

#9F7DF7 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.176 H 294.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F7DF7
RGBrgb(159, 125, 247)
HSLhsl(257, 88%, 73%)
HSVhsv(257, 49%, 97%)
CMYKcmyk(35.6%, 49.4%, 0%, 3.1%)
CIE-LABlab(60.56, 39.67, -56.73)
CIE-LCHlch(60.56, 69.22, 304.96°)
OKLaboklab(67.63% 0.0715 -0.1603)
OKLCHoklch(67.63% 0.176 294)
XYZxyz(38.4158, 28.7528, 91.5035)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7DF7 #D5F77D
analogous
#7D98F7 #9F7DF7 #DC7DF7
triadic
#9F7DF7 #F79F7D #7DF79F
tetradic
#9F7DF7 #F77D98 #D5F77D #7DF7DC
square
#9F7DF7 #F77D98 #D5F77D #7DF7DC
split-complementary
#9F7DF7 #F7DC7D #98F77D
monochromatic
#4C0EEB #7443F3 #9F7DF7 #CAB7FB #EAE2FD

Accessibility & contrast

On white

3.11
#9F7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9F7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7DF7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7DF7#FFFFFF#000000##000000
##9F7DF71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#8A95AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f7df7;
/* rgb */ color: rgb(159, 125, 247);
/* oklch */ color: oklch(67.6% 0.176 294.0);
Tailwind
colors: {
  custom: {
    50: '#bfa3fa',
    500: '#9f7df7',
    950: '#000000',
  },
}
SCSS
$custom: #9f7df7;
$custom-light: #bfa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7df7",
  "rgb": {
    "r": 159,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 256.721,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.17557,
    "h": 294
  },
  "luminance": 0.28754
}

Semantic roles & 50–950 ramp

primary
#9F7DF7
secondary
#ECF5D6
accent
#E500A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #9F7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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