#9F5FFD#9F5FFD

#9F5FFD is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.225 H 298.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F5FFD
RGBrgb(159, 95, 253)
HSLhsl(264, 98%, 68%)
HSVhsv(264, 62%, 99%)
CMYKcmyk(37.2%, 62.5%, 0%, 0.8%)
CIE-LABlab(54.71, 57.38, -69.46)
CIE-LCHlch(54.71, 90.09, 309.56°)
OKLaboklab(63.43% 0.1068 -0.1977)
OKLCHoklch(63.43% 0.225 298.4)
XYZxyz(36.1154, 22.6467, 95.3780)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FFD #BDFD5F
analogous
#5F6EFD #9F5FFD #EE5FFD
triadic
#9F5FFD #FD9F5F #5FFD9F
tetradic
#9F5FFD #FD5F6E #BDFD5F #5FFDEE
square
#9F5FFD #FD5F6E #BDFD5F #5FFDEE
split-complementary
#9F5FFD #FDEE5F #6EFD5F
monochromatic
#5C03DF #7B23FC #9F5FFD #C39BFE #E8D8FF

Accessibility & contrast

On white

3.80
#9F5FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9F5FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FFD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FFD#FFFFFF#000000##000000
##9F5FFD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0681FA
Tritanopia (blue-blind)
#8982A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f5ffd;
/* rgb */ color: rgb(159, 95, 253);
/* oklch */ color: oklch(63.4% 0.225 298.4);
Tailwind
colors: {
  custom: {
    50: '#c190ff',
    500: '#9f5ffd',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ffd;
$custom-light: #c190ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ffd",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 264.304,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.2247,
    "h": 298.4
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#9F5FFD
secondary
#E0F4C4
accent
#E60089
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9F5FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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