#9F6DF8#9F6DF8

#9F6DF8 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.200 H 297.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9F6DF8
RGBrgb(159, 109, 248)
HSLhsl(262, 91%, 70%)
HSVhsv(262, 56%, 97%)
CMYKcmyk(35.9%, 56%, 0%, 2.7%)
CIE-LABlab(57.16, 48.78, -62.73)
CIE-LCHlch(57.16, 79.46, 307.86°)
OKLaboklab(65.12% 0.0911 -0.1779)
OKLCHoklch(65.12% 0.2 297.1)
XYZxyz(36.7057, 25.0850, 91.6968)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DF8 #C6F86D
analogous
#6D80F8 #9F6DF8 #E56DF8
triadic
#9F6DF8 #F89F6D #6DF89F
tetradic
#9F6DF8 #F86D80 #C6F86D #6DF8E5
square
#9F6DF8 #F86D80 #C6F86D #6DF8E5
split-complementary
#9F6DF8 #F8E56D #80F86D
monochromatic
#570BE0 #7933F5 #9F6DF8 #C5A7FB #ECE2FE

Accessibility & contrast

On white

3.49
#9F6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9F6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6DF8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6DF8#FFFFFF#000000##000000
##9F6DF81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFD
Deuteranopia (green-blind)
#3C88F5
Tritanopia (blue-blind)
#8A8AA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6df8;
/* rgb */ color: rgb(159, 109, 248);
/* oklch */ color: oklch(65.1% 0.200 297.1);
Tailwind
colors: {
  custom: {
    50: '#c098fb',
    500: '#9f6df8',
    950: '#000000',
  },
}
SCSS
$custom: #9f6df8;
$custom-light: #c098fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6df8",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 261.583,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.6512,
    "c": 0.19991,
    "h": 297.1
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#9F6DF8
secondary
#E6F4CD
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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