#9B5CFC#9B5CFC

#9B5CFC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.6% C 0.227 H 297.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9B5CFC
RGBrgb(155, 92, 252)
HSLhsl(264, 96%, 67%)
HSVhsv(264, 63%, 99%)
CMYKcmyk(38.5%, 63.5%, 0%, 1.2%)
CIE-LABlab(53.65, 57.84, -70.62)
CIE-LCHlch(53.65, 91.29, 309.32°)
OKLaboklab(62.55% 0.1049 -0.2013)
OKLCHoklch(62.55% 0.227 297.5)
XYZxyz(34.9109, 21.6506, 94.4163)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CFC #BDFC5C
analogous
#5C6DFC #9B5CFC #EB5CFC
triadic
#9B5CFC #FC9B5C #5CFC9B
tetradic
#9B5CFC #FC5C6D #BDFC5C #5CFCEB
square
#9B5CFC #FC5C6D #BDFC5C #5CFCEB
split-complementary
#9B5CFC #FCEB5C #6DFC5C
monochromatic
#5804DA #7620FB #9B5CFC #C098FD #E5D4FE

Accessibility & contrast

On white

3.94
#9B5CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9B5CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CFC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CFC#FFFFFF#000000##000000
##9B5CFC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007EF9
Tritanopia (blue-blind)
#8480A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b5cfc;
/* rgb */ color: rgb(155, 92, 252);
/* oklch */ color: oklch(62.6% 0.227 297.5);
Tailwind
colors: {
  custom: {
    50: '#bf8dfe',
    500: '#9b5cfc',
    950: '#000000',
  },
}
SCSS
$custom: #9b5cfc;
$custom-light: #bf8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5cfc",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 263.625,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62553,
    "c": 0.22695,
    "h": 297.5
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#9B5CFC
secondary
#DFF3C1
accent
#E6008B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9B5CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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