#9F5BFC#9F5BFC

#9F5BFC is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.8% C 0.229 H 299.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F5BFC
RGBrgb(159, 91, 252)
HSLhsl(265, 96%, 67%)
HSVhsv(265, 64%, 99%)
CMYKcmyk(36.9%, 63.9%, 0%, 1.2%)
CIE-LABlab(53.90, 59.14, -70.21)
CIE-LCHlch(53.90, 91.80, 310.11°)
OKLaboklab(62.83% 0.1112 -0.1999)
OKLCHoklch(62.83% 0.229 299.1)
XYZxyz(35.6055, 21.8810, 94.4242)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5BFC #B8FC5B
analogous
#5B67FC #9F5BFC #F05BFC
triadic
#9F5BFC #FC9F5B #5BFC9F
tetradic
#9F5BFC #FC5B67 #B8FC5B #5BFCF0
square
#9F5BFC #FC5B67 #B8FC5B #5BFCF0
split-complementary
#9F5BFC #FCF05B #67FC5B
monochromatic
#5E04D9 #7C1FFB #9F5BFC #C297FD #E5D3FE

Accessibility & contrast

On white

3.91
#9F5BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9F5BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5BFC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5BFC#FFFFFF#000000##000000
##9F5BFC1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007FF9
Tritanopia (blue-blind)
#8A7FA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f5bfc;
/* rgb */ color: rgb(159, 91, 252);
/* oklch */ color: oklch(62.8% 0.229 299.1);
Tailwind
colors: {
  custom: {
    50: '#c18dfe',
    500: '#9f5bfc',
    950: '#000000',
  },
}
SCSS
$custom: #9f5bfc;
$custom-light: #c18dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5bfc",
  "rgb": {
    "r": 159,
    "g": 91,
    "b": 252
  },
  "hsl": {
    "h": 265.342,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62828,
    "c": 0.22873,
    "h": 299.1
  },
  "luminance": 0.21881
}

Semantic roles & 50–950 ramp

primary
#9F5BFC
secondary
#DDF3C0
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F5BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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