#9F5FFE#9F5FFE

#9F5FFE is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.5% C 0.226 H 298.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9F5FFE
RGBrgb(159, 95, 254)
HSLhsl(264, 99%, 68%)
HSVhsv(264, 63%, 100%)
CMYKcmyk(37.4%, 62.6%, 0%, 0.4%)
CIE-LABlab(54.77, 57.63, -69.90)
CIE-LCHlch(54.77, 90.59, 309.50°)
OKLaboklab(63.5% 0.1067 -0.199)
OKLCHoklch(63.5% 0.226 298.2)
XYZxyz(36.2752, 22.7106, 96.2191)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FFE #BEFE5F
analogous
#5F6EFE #9F5FFE #EF5FFE
triadic
#9F5FFE #FE9F5F #5FFE9F
tetradic
#9F5FFE #FE5F6E #BEFE5F #5FFEEF
square
#9F5FFE #FE5F6E #BEFE5F #5FFEEF
split-complementary
#9F5FFE #FEEF5F #6EFE5F
monochromatic
#5B01E1 #7B22FE #9F5FFE #C39CFE #E8D9FF

Accessibility & contrast

On white

3.79
#9F5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9F5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FFE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FFE#FFFFFF#000000##000000
##9F5FFE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#8983A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f5ffe;
/* rgb */ color: rgb(159, 95, 254);
/* oklch */ color: oklch(63.5% 0.226 298.2);
Tailwind
colors: {
  custom: {
    50: '#c190ff',
    500: '#9f5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ffe;
$custom-light: #c190ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ffe",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 264.151,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63501,
    "c": 0.22582,
    "h": 298.2
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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