#9F6DFA#9F6DFA

#9F6DFA is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.2% C 0.202 H 296.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9F6DFA
RGBrgb(159, 109, 250)
HSLhsl(261, 93%, 70%)
HSVhsv(261, 56%, 98%)
CMYKcmyk(36.4%, 56.4%, 0%, 2%)
CIE-LABlab(57.28, 49.28, -63.65)
CIE-LCHlch(57.28, 80.50, 307.75°)
OKLaboklab(65.25% 0.0911 -0.1806)
OKLCHoklch(65.25% 0.202 296.8)
XYZxyz(37.0176, 25.2097, 93.3396)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DFA #C8FA6D
analogous
#6D81FA #9F6DFA #E66DFA
triadic
#9F6DFA #FA9F6D #6DFA9F
tetradic
#9F6DFA #FA6D81 #C8FA6D #6DFAE6
square
#9F6DFA #FA6D81 #C8FA6D #6DFAE6
split-complementary
#9F6DFA #FAE66D #81FA6D
monochromatic
#5608E5 #7832F8 #9F6DFA #C6A8FC #ECE1FE

Accessibility & contrast

On white

3.48
#9F6DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9F6DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DFA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DFA#FFFFFF#000000##000000
##9F6DFA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#248AFF
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#8A8BA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6dfa;
/* rgb */ color: rgb(159, 109, 250);
/* oklch */ color: oklch(65.2% 0.202 296.8);
Tailwind
colors: {
  custom: {
    50: '#c098fd',
    500: '#9f6dfa',
    950: '#000000',
  },
}
SCSS
$custom: #9f6dfa;
$custom-light: #c098fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6dfa",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 261.277,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.2023,
    "h": 296.8
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#9F6DFA
secondary
#E7F5CE
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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