#9D5BF0#9D5BF0

#9D5BF0 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.215 H 300.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D5BF0
RGBrgb(157, 91, 240)
HSLhsl(267, 83%, 65%)
HSVhsv(267, 62%, 94%)
CMYKcmyk(34.6%, 62.1%, 0%, 5.9%)
CIE-LABlab(52.89, 55.81, -65.17)
CIE-LCHlch(52.89, 85.81, 310.57°)
OKLaboklab(61.79% 0.1095 -0.1852)
OKLCHoklch(61.79% 0.215 300.6)
XYZxyz(33.3701, 20.9413, 84.7052)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BF0 #AEF05B
analogous
#5B64F0 #9D5BF0 #E75BF0
triadic
#9D5BF0 #F09D5B #5BF09D
tetradic
#9D5BF0 #F05B64 #AEF05B #5BF0E7
square
#9D5BF0 #F05B64 #AEF05B #5BF0E7
split-complementary
#9D5BF0 #F0E75B #64F05B
monochromatic
#5E11BF #7B23EB #9D5BF0 #BF93F5 #E0CBFA

Accessibility & contrast

On white

4.05
#9D5BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9D5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BF0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BF0#FFFFFF#000000##000000
##9D5BF01.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#217DED
Tritanopia (blue-blind)
#8B7B9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d5bf0;
/* rgb */ color: rgb(157, 91, 240);
/* oklch */ color: oklch(61.8% 0.215 300.6);
Tailwind
colors: {
  custom: {
    50: '#bf8df6',
    500: '#9d5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bf0;
$custom-light: #bf8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bf0",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 266.577,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.21514,
    "h": 300.6
  },
  "luminance": 0.20942
}

Semantic roles & 50–950 ramp

primary
#9D5BF0
secondary
#D6EDBA
accent
#E0067F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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