#9F6EF7#9F6EF7

#9F6EF7 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.2% C 0.197 H 297.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9F6EF7
RGBrgb(159, 110, 247)
HSLhsl(261, 90%, 70%)
HSVhsv(261, 55%, 97%)
CMYKcmyk(35.6%, 55.5%, 0%, 3.1%)
CIE-LABlab(57.31, 47.98, -61.94)
CIE-LCHlch(57.31, 78.35, 307.76°)
OKLaboklab(65.21% 0.0899 -0.1756)
OKLCHoklch(65.21% 0.197 297.1)
XYZxyz(36.6583, 25.2376, 90.9176)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6EF7 #C6F76E
analogous
#6E81F7 #9F6EF7 #E46EF7
triadic
#9F6EF7 #F79F6E #6EF79F
tetradic
#9F6EF7 #F76E81 #C6F76E #6EF7E4
square
#9F6EF7 #F76E81 #C6F76E #6EF7E4
split-complementary
#9F6EF7 #F7E46E #81F76E
monochromatic
#570CDE #7934F4 #9F6EF7 #C5A8FA #ECE2FD

Accessibility & contrast

On white

3.47
#9F6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9F6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6EF7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6EF7#FFFFFF#000000##000000
##9F6EF71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFC
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#8B8AA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f6ef7;
/* rgb */ color: rgb(159, 110, 247);
/* oklch */ color: oklch(65.2% 0.197 297.1);
Tailwind
colors: {
  custom: {
    50: '#c099fb',
    500: '#9f6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ef7;
$custom-light: #c099fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ef7",
  "rgb": {
    "r": 159,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 261.46,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.1973,
    "h": 297.1
  },
  "luminance": 0.25238
}

Semantic roles & 50–950 ramp

primary
#9F6EF7
secondary
#E6F4CD
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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