#9F6DF7#9F6DF7

#9F6DF7 is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.1% C 0.199 H 297.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9F6DF7
RGBrgb(159, 109, 247)
HSLhsl(262, 90%, 70%)
HSVhsv(262, 56%, 97%)
CMYKcmyk(35.6%, 55.9%, 0%, 3.1%)
CIE-LABlab(57.10, 48.52, -62.28)
CIE-LCHlch(57.10, 78.95, 307.92°)
OKLaboklab(65.06% 0.0911 -0.1766)
OKLCHoklch(65.06% 0.199 297.3)
XYZxyz(36.5510, 25.0231, 90.8819)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DF7 #C5F76D
analogous
#6D80F7 #9F6DF7 #E46DF7
triadic
#9F6DF7 #F79F6D #6DF79F
tetradic
#9F6DF7 #F76D80 #C5F76D #6DF7E4
square
#9F6DF7 #F76D80 #C5F76D #6DF7E4
split-complementary
#9F6DF7 #F7E46D #80F76D
monochromatic
#580CDD #7933F4 #9F6DF7 #C5A7FA #EBE1FD

Accessibility & contrast

On white

3.50
#9F6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9F6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DF7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DF7#FFFFFF#000000##000000
##9F6DF71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFC
Deuteranopia (green-blind)
#3D87F4
Tritanopia (blue-blind)
#8B8AA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6df7;
/* rgb */ color: rgb(159, 109, 247);
/* oklch */ color: oklch(65.1% 0.199 297.3);
Tailwind
colors: {
  custom: {
    50: '#c098fb',
    500: '#9f6df7',
    950: '#000000',
  },
}
SCSS
$custom: #9f6df7;
$custom-light: #c098fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6df7",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 261.739,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65056,
    "c": 0.19871,
    "h": 297.3
  },
  "luminance": 0.25024
}

Semantic roles & 50–950 ramp

primary
#9F6DF7
secondary
#E5F3CC
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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