#9F6FF9#9F6FF9

#9F6FF9 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.198 H 296.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F6FF9
RGBrgb(159, 111, 249)
HSLhsl(261, 92%, 71%)
HSVhsv(261, 55%, 98%)
CMYKcmyk(36.1%, 55.4%, 0%, 2.4%)
CIE-LABlab(57.64, 47.94, -62.52)
CIE-LCHlch(57.64, 78.79, 307.48°)
OKLaboklab(65.49% 0.0887 -0.1773)
OKLCHoklch(65.49% 0.198 296.6)
XYZxyz(37.0771, 25.5788, 92.5879)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6FF9 #C9F96F
analogous
#6F84F9 #9F6FF9 #E46FF9
triadic
#9F6FF9 #F99F6F #6FF99F
tetradic
#9F6FF9 #F96F84 #C9F96F #6FF9E4
square
#9F6FF9 #F96F84 #C9F96F #6FF9E4
split-complementary
#9F6FF9 #F9E46F #84F96F
monochromatic
#560AE4 #7834F7 #9F6FF9 #C6AAFB #EBE2FE

Accessibility & contrast

On white

3.43
#9F6FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9F6FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6FF9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6FF9#FFFFFF#000000##000000
##9F6FF91.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8BFE
Deuteranopia (green-blind)
#3E89F6
Tritanopia (blue-blind)
#8A8CAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f6ff9;
/* rgb */ color: rgb(159, 111, 249);
/* oklch */ color: oklch(65.5% 0.198 296.6);
Tailwind
colors: {
  custom: {
    50: '#c09afc',
    500: '#9f6ff9',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ff9;
$custom-light: #c09afc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ff9",
  "rgb": {
    "r": 159,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 260.87,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.19829,
    "h": 296.6
  },
  "luminance": 0.25579
}

Semantic roles & 50–950 ramp

primary
#9F6FF9
secondary
#E8F5CF
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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