#9F6BF9#9F6BF9

#9F6BF9 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.9% C 0.204 H 297.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9F6BF9
RGBrgb(159, 107, 249)
HSLhsl(262, 92%, 70%)
HSVhsv(262, 57%, 98%)
CMYKcmyk(36.1%, 57%, 0%, 2.4%)
CIE-LABlab(56.81, 50.11, -63.85)
CIE-LCHlch(56.81, 81.17, 308.12°)
OKLaboklab(64.88% 0.0934 -0.1812)
OKLCHoklch(64.88% 0.204 297.3)
XYZxyz(36.6503, 24.7253, 92.4457)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6BF9 #C5F96B
analogous
#6B7EF9 #9F6BF9 #E66BF9
triadic
#9F6BF9 #F99F6B #6BF99F
tetradic
#9F6BF9 #F96B7E #C5F96B #6BF9E6
square
#9F6BF9 #F96B7E #C5F96B #6BF9E6
split-complementary
#9F6BF9 #F9E66B #7EF96B
monochromatic
#5809E0 #7930F7 #9F6BF9 #C5A6FB #EBE1FE

Accessibility & contrast

On white

3.53
#9F6BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9F6BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6BF9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6BF9#FFFFFF#000000##000000
##9F6BF91.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FE
Deuteranopia (green-blind)
#3787F6
Tritanopia (blue-blind)
#8A89A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f6bf9;
/* rgb */ color: rgb(159, 107, 249);
/* oklch */ color: oklch(64.9% 0.204 297.3);
Tailwind
colors: {
  custom: {
    50: '#c097fc',
    500: '#9f6bf9',
    950: '#000000',
  },
}
SCSS
$custom: #9f6bf9;
$custom-light: #c097fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6bf9",
  "rgb": {
    "r": 159,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 261.972,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64881,
    "c": 0.20391,
    "h": 297.3
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#9F6BF9
secondary
#E5F4CC
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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