#9F6BF7#9F6BF7

#9F6BF7 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.8% C 0.202 H 297.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9F6BF7
RGBrgb(159, 107, 247)
HSLhsl(262, 90%, 69%)
HSVhsv(262, 57%, 97%)
CMYKcmyk(35.6%, 56.7%, 0%, 3.1%)
CIE-LABlab(56.68, 49.60, -62.94)
CIE-LCHlch(56.68, 80.14, 308.24°)
OKLaboklab(64.75% 0.0935 -0.1786)
OKLCHoklch(64.75% 0.202 297.6)
XYZxyz(36.3401, 24.6012, 90.8116)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6BF7 #C3F76B
analogous
#6B7DF7 #9F6BF7 #E56BF7
triadic
#9F6BF7 #F79F6B #6BF79F
tetradic
#9F6BF7 #F76B7D #C3F76B #6BF7E5
square
#9F6BF7 #F76B7D #C3F76B #6BF7E5
split-complementary
#9F6BF7 #F7E56B #7DF76B
monochromatic
#590CDC #7931F4 #9F6BF7 #C5A5FA #EADFFD

Accessibility & contrast

On white

3.55
#9F6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9F6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6BF7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6BF7#FFFFFF#000000##000000
##9F6BF71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2388FC
Deuteranopia (green-blind)
#3A86F4
Tritanopia (blue-blind)
#8B88A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f6bf7;
/* rgb */ color: rgb(159, 107, 247);
/* oklch */ color: oklch(64.8% 0.202 297.6);
Tailwind
colors: {
  custom: {
    50: '#c097fb',
    500: '#9f6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #9f6bf7;
$custom-light: #c097fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6bf7",
  "rgb": {
    "r": 159,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 262.286,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.20154,
    "h": 297.6
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

primary
#9F6BF7
secondary
#E4F3CB
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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