#9B5DF0#9B5DF0

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

Color values

HEX#9B5DF0
RGBrgb(155, 93, 240)
HSLhsl(265, 83%, 65%)
HSVhsv(265, 61%, 94%)
CMYKcmyk(35.4%, 61.2%, 0%, 5.9%)
CIE-LABlab(53.05, 54.36, -64.93)
CIE-LCHlch(53.05, 84.68, 309.94°)
OKLaboklab(61.86% 0.1047 -0.1845)
OKLCHoklch(61.86% 0.212 299.6)
XYZxyz(33.1562, 21.0882, 84.7448)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DF0 #B2F05D
analogous
#5D68F0 #9B5DF0 #E45DF0
triadic
#9B5DF0 #F09B5D #5DF09B
tetradic
#9B5DF0 #F05D68 #B2F05D #5DF0E4
square
#9B5DF0 #F05D68 #B2F05D #5DF0E4
split-complementary
#9B5DF0 #F0E45D #68F05D
monochromatic
#5C12C1 #7825EB #9B5DF0 #BE95F5 #E0CDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B5DF0#FFFFFF#000000##000000
##9B5DF01.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)
#007EF5
Deuteranopia (green-blind)
#227DED
Tritanopia (blue-blind)
#887D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b5df0;
/* rgb */ color: rgb(155, 93, 240);
/* oklch */ color: oklch(61.9% 0.212 299.6);
Tailwind
colors: {
  custom: {
    50: '#be8ef6',
    500: '#9b5df0',
    950: '#000000',
  },
}
SCSS
$custom: #9b5df0;
$custom-light: #be8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5df0",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 265.306,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.21214,
    "h": 299.6
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#9B5DF0
secondary
#D8EDBC
accent
#DF0684
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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