#9B5FEF#9B5FEF

#9B5FEF is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.1% C 0.208 H 299.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9B5FEF
RGBrgb(155, 95, 239)
HSLhsl(265, 82%, 65%)
HSVhsv(265, 60%, 94%)
CMYKcmyk(35.1%, 60.3%, 0%, 6.3%)
CIE-LABlab(53.37, 53.08, -63.85)
CIE-LCHlch(53.37, 83.03, 309.74°)
OKLaboklab(62.07% 0.1025 -0.1813)
OKLCHoklch(62.07% 0.208 299.5)
XYZxyz(33.1859, 21.3847, 84.0239)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5FEF #B3EF5F
analogous
#5F6BEF #9B5FEF #E35FEF
triadic
#9B5FEF #EF9B5F #5FEF9B
tetradic
#9B5FEF #EF5F6B #B3EF5F #5FEFE3
square
#9B5FEF #EF5F6B #B3EF5F #5FEFE3
split-complementary
#9B5FEF #EFE35F #6BEF5F
monochromatic
#5B13C0 #7827E9 #9B5FEF #BE97F5 #E1CEFA

Accessibility & contrast

On white

3.98
#9B5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9B5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5FEF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5FEF#FFFFFF#000000##000000
##9B5FEF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#297EEC
Tritanopia (blue-blind)
#897E9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5fef;
/* rgb */ color: rgb(155, 95, 239);
/* oklch */ color: oklch(62.1% 0.208 299.5);
Tailwind
colors: {
  custom: {
    50: '#bd8ff5',
    500: '#9b5fef',
    950: '#000000',
  },
}
SCSS
$custom: #9b5fef;
$custom-light: #bd8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5fef",
  "rgb": {
    "r": 155,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 265,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62073,
    "c": 0.20829,
    "h": 299.5
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#9B5FEF
secondary
#D9EDBD
accent
#DE0785
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9B5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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