#9F6BFB#9F6BFB

#9F6BFB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.0% C 0.206 H 296.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F6BFB
RGBrgb(159, 107, 251)
HSLhsl(262, 95%, 70%)
HSVhsv(262, 57%, 98%)
CMYKcmyk(36.7%, 57.4%, 0%, 1.6%)
CIE-LABlab(56.93, 50.61, -64.76)
CIE-LCHlch(56.93, 82.19, 308.01°)
OKLaboklab(65.01% 0.0934 -0.1839)
OKLCHoklch(65.01% 0.206 296.9)
XYZxyz(36.9639, 24.8508, 94.0973)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6BFB #C7FB6B
analogous
#6B7FFB #9F6BFB #E76BFB
triadic
#9F6BFB #FB9F6B #6BFB9F
tetradic
#9F6BFB #FB6B7F #C7FB6B #6BFBE7
square
#9F6BFB #FB6B7F #C7FB6B #6BFBE7
split-complementary
#9F6BFB #FBE76B #7FFB6B
monochromatic
#5706E5 #782FF9 #9F6BFB #C6A7FD #ECE1FE

Accessibility & contrast

On white

3.52
#9F6BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9F6BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6BFB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6BFB#FFFFFF#000000##000000
##9F6BFB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1989FF
Deuteranopia (green-blind)
#3487F8
Tritanopia (blue-blind)
#8989A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6bfb;
/* rgb */ color: rgb(159, 107, 251);
/* oklch */ color: oklch(65.0% 0.206 296.9);
Tailwind
colors: {
  custom: {
    50: '#c097fd',
    500: '#9f6bfb',
    950: '#000000',
  },
}
SCSS
$custom: #9f6bfb;
$custom-light: #c097fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6bfb",
  "rgb": {
    "r": 159,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 261.667,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.20628,
    "h": 296.9
  },
  "luminance": 0.24851
}

Semantic roles & 50–950 ramp

primary
#9F6BFB
secondary
#E6F5CD
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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