#9B5CF3#9B5CF3

#9B5CF3 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.217 H 299.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9B5CF3
RGBrgb(155, 92, 243)
HSLhsl(265, 86%, 66%)
HSVhsv(265, 62%, 95%)
CMYKcmyk(36.2%, 62.1%, 0%, 4.7%)
CIE-LABlab(53.05, 55.62, -66.59)
CIE-LCHlch(53.05, 86.76, 309.87°)
OKLaboklab(61.93% 0.1056 -0.1894)
OKLCHoklch(61.93% 0.217 299.2)
XYZxyz(33.5184, 21.0936, 87.0822)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CF3 #B4F35C
analogous
#5C68F3 #9B5CF3 #E65CF3
triadic
#9B5CF3 #F39B5C #5CF39B
tetradic
#9B5CF3 #F35C68 #B4F35C #5CF3E6
square
#9B5CF3 #F35C68 #B4F35C #5CF3E6
split-complementary
#9B5CF3 #F3E65C #68F35C
monochromatic
#5B0FC6 #7823EF #9B5CF3 #BE95F7 #E1CEFB

Accessibility & contrast

On white

4.02
#9B5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9B5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CF3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CF3#FFFFFF#000000##000000
##9B5CF31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#167DF0
Tritanopia (blue-blind)
#877D9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5cf3;
/* rgb */ color: rgb(155, 92, 243);
/* oklch */ color: oklch(61.9% 0.217 299.2);
Tailwind
colors: {
  custom: {
    50: '#be8df8',
    500: '#9b5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #9b5cf3;
$custom-light: #be8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5cf3",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 265.033,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.21686,
    "h": 299.2
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#9B5CF3
secondary
#DAEFBC
accent
#E30385
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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