#9F6AF7#9F6AF7

#9F6AF7 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.6% C 0.203 H 297.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F6AF7
RGBrgb(159, 106, 247)
HSLhsl(263, 90%, 69%)
HSVhsv(263, 57%, 97%)
CMYKcmyk(35.6%, 57.1%, 0%, 3.1%)
CIE-LABlab(56.48, 50.14, -63.27)
CIE-LCHlch(56.48, 80.73, 308.40°)
OKLaboklab(64.6% 0.0946 -0.1795)
OKLCHoklch(64.6% 0.203 297.8)
XYZxyz(36.2364, 24.3939, 90.7770)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6AF7 #C2F76A
analogous
#6A7CF7 #9F6AF7 #E56AF7
triadic
#9F6AF7 #F79F6A #6AF79F
tetradic
#9F6AF7 #F76A7C #C2F76A #6AF7E5
square
#9F6AF7 #F76A7C #C2F76A #6AF7E5
split-complementary
#9F6AF7 #F7E56A #7CF76A
monochromatic
#5A0CDB #7A30F4 #9F6AF7 #C4A4FA #EADEFD

Accessibility & contrast

On white

3.57
#9F6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9F6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6AF7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6AF7#FFFFFF#000000##000000
##9F6AF71.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FC
Deuteranopia (green-blind)
#3886F4
Tritanopia (blue-blind)
#8B88A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f6af7;
/* rgb */ color: rgb(159, 106, 247);
/* oklch */ color: oklch(64.6% 0.203 297.8);
Tailwind
colors: {
  custom: {
    50: '#c096fb',
    500: '#9f6af7',
    950: '#000000',
  },
}
SCSS
$custom: #9f6af7;
$custom-light: #c096fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6af7",
  "rgb": {
    "r": 159,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 262.553,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64602,
    "c": 0.20294,
    "h": 297.8
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#9F6AF7
secondary
#E3F3CA
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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