#9F6FFE#9F6FFE

#9F6FFE is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 65.8% C 0.204 H 295.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9F6FFE
RGBrgb(159, 111, 254)
HSLhsl(260, 99%, 72%)
HSVhsv(260, 56%, 100%)
CMYKcmyk(37.4%, 56.3%, 0%, 0.4%)
CIE-LABlab(57.94, 49.22, -64.80)
CIE-LCHlch(57.94, 81.37, 307.22°)
OKLaboklab(65.81% 0.0888 -0.184)
OKLCHoklch(65.81% 0.204 295.7)
XYZxyz(37.8673, 25.8949, 96.7498)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6FFE #CEFE6F
analogous
#6F87FE #9F6FFE #E76FFE
triadic
#9F6FFE #FE9F6F #6FFE9F
tetradic
#9F6FFE #FE6F87 #CEFE6F #6FFEE7
square
#9F6FFE #FE6F87 #CEFE6F #6FFEE7
split-complementary
#9F6FFE #FEE76F #87FE6F
monochromatic
#5202F1 #7632FE #9F6FFE #C8ACFE #EBE1FF

Accessibility & contrast

On white

3.40
#9F6FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9F6FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6FFE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6FFE#FFFFFF#000000##000000
##9F6FFE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#238CFF
Deuteranopia (green-blind)
#3789FB
Tritanopia (blue-blind)
#888DAC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f6ffe;
/* rgb */ color: rgb(159, 111, 254);
/* oklch */ color: oklch(65.8% 0.204 295.7);
Tailwind
colors: {
  custom: {
    50: '#c09aff',
    500: '#9f6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ffe;
$custom-light: #c09aff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ffe",
  "rgb": {
    "r": 159,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 260.14,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65809,
    "c": 0.20431,
    "h": 295.7
  },
  "luminance": 0.25896
}

Semantic roles & 50–950 ramp

primary
#9F6FFE
secondary
#EAF7D2
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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