#9F6FFB#9F6FFB

#9F6FFB is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.6% C 0.201 H 296.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9F6FFB
RGBrgb(159, 111, 251)
HSLhsl(261, 95%, 71%)
HSVhsv(261, 56%, 98%)
CMYKcmyk(36.7%, 55.8%, 0%, 1.6%)
CIE-LABlab(57.76, 48.45, -63.44)
CIE-LCHlch(57.76, 79.82, 307.37°)
OKLaboklab(65.62% 0.0888 -0.18)
OKLCHoklch(65.62% 0.201 296.2)
XYZxyz(37.3906, 25.7042, 94.2395)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6FFB #CBFB6F
analogous
#6F85FB #9F6FFB #E56FFB
triadic
#9F6FFB #FB9F6F #6FFB9F
tetradic
#9F6FFB #FB6F85 #CBFB6F #6FFBE5
square
#9F6FFB #FB6F85 #CBFB6F #6FFBE5
split-complementary
#9F6FFB #FBE56F #85FB6F
monochromatic
#5406E9 #7733F9 #9F6FFB #C7ABFD #EBE1FE

Accessibility & contrast

On white

3.42
#9F6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9F6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6FFB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6FFB#FFFFFF#000000##000000
##9F6FFB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#298CFF
Deuteranopia (green-blind)
#3B89F8
Tritanopia (blue-blind)
#898CAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f6ffb;
/* rgb */ color: rgb(159, 111, 251);
/* oklch */ color: oklch(65.6% 0.201 296.2);
Tailwind
colors: {
  custom: {
    50: '#c09afd',
    500: '#9f6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ffb;
$custom-light: #c09afd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ffb",
  "rgb": {
    "r": 159,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 260.571,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65617,
    "c": 0.2007,
    "h": 296.2
  },
  "luminance": 0.25705
}

Semantic roles & 50–950 ramp

primary
#9F6FFB
secondary
#E9F6D0
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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