#9B5FED#9B5FED

#9B5FED is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.206 H 299.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9B5FED
RGBrgb(155, 95, 237)
HSLhsl(265, 80%, 65%)
HSVhsv(265, 60%, 93%)
CMYKcmyk(34.6%, 59.9%, 0%, 7.1%)
CIE-LABlab(53.24, 52.59, -62.93)
CIE-LCHlch(53.24, 82.01, 309.88°)
OKLaboklab(61.94% 0.1026 -0.1786)
OKLCHoklch(61.94% 0.206 299.9)
XYZxyz(32.8921, 21.2671, 82.4764)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5FED #B1ED5F
analogous
#5F6AED #9B5FED #E25FED
triadic
#9B5FED #ED9B5F #5FED9B
tetradic
#9B5FED #ED5F6A #B1ED5F #5FEDE2
square
#9B5FED #ED5F6A #B1ED5F #5FEDE2
split-complementary
#9B5FED #EDE25F #6AED5F
monochromatic
#5C15BC #7928E7 #9B5FED #BD96F3 #E0CDF9

Accessibility & contrast

On white

4.00
#9B5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9B5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5FED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5FED#FFFFFF#000000##000000
##9B5FED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#897D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5fed;
/* rgb */ color: rgb(155, 95, 237);
/* oklch */ color: oklch(61.9% 0.206 299.9);
Tailwind
colors: {
  custom: {
    50: '#bd8ff4',
    500: '#9b5fed',
    950: '#000000',
  },
}
SCSS
$custom: #9b5fed;
$custom-light: #bd8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5fed",
  "rgb": {
    "r": 155,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 265.352,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6194,
    "c": 0.20599,
    "h": 299.9
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#9B5FED
secondary
#D8ECBC
accent
#DC0983
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9B5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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