#9F5BF3#9F5BF3

#9F5BF3 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.2% C 0.219 H 300.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F5BF3
RGBrgb(159, 91, 243)
HSLhsl(267, 86%, 65%)
HSVhsv(267, 63%, 95%)
CMYKcmyk(34.6%, 62.6%, 0%, 4.7%)
CIE-LABlab(53.30, 56.96, -66.17)
CIE-LCHlch(53.30, 87.30, 310.72°)
OKLaboklab(62.21% 0.1119 -0.188)
OKLCHoklch(62.21% 0.219 300.8)
XYZxyz(34.2129, 21.3240, 87.0901)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5BF3 #AFF35B
analogous
#5B63F3 #9F5BF3 #EB5BF3
triadic
#9F5BF3 #F39F5B #5BF39F
tetradic
#9F5BF3 #F35B63 #AFF35B #5BF3EB
square
#9F5BF3 #F35B63 #AFF35B #5BF3EB
split-complementary
#9F5BF3 #F3EB5B #63F35B
monochromatic
#600EC5 #7E22EF #9F5BF3 #C094F7 #E2CDFB

Accessibility & contrast

On white

3.99
#9F5BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9F5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5BF3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5BF3#FFFFFF#000000##000000
##9F5BF31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#1E7EF0
Tritanopia (blue-blind)
#8D7C9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f5bf3;
/* rgb */ color: rgb(159, 91, 243);
/* oklch */ color: oklch(62.2% 0.219 300.8);
Tailwind
colors: {
  custom: {
    50: '#c18df8',
    500: '#9f5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #9f5bf3;
$custom-light: #c18df8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5bf3",
  "rgb": {
    "r": 159,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 266.842,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.2188,
    "h": 300.8
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#9F5BF3
secondary
#D8EEBB
accent
#E3037F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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