#9E5BF0#9E5BF0

#9E5BF0 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.215 H 301.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9E5BF0
RGBrgb(158, 91, 240)
HSLhsl(267, 83%, 65%)
HSVhsv(267, 62%, 94%)
CMYKcmyk(34.2%, 62.1%, 0%, 5.9%)
CIE-LABlab(53.00, 56.02, -64.99)
CIE-LCHlch(53.00, 85.80, 310.76°)
OKLaboklab(61.9% 0.1108 -0.1846)
OKLCHoklch(61.9% 0.215 301)
XYZxyz(33.5660, 21.0424, 84.7144)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BF0 #ADF05B
analogous
#5B63F0 #9E5BF0 #E95BF0
triadic
#9E5BF0 #F09E5B #5BF09E
tetradic
#9E5BF0 #F05B63 #ADF05B #5BF0E9
square
#9E5BF0 #F05B63 #ADF05B #5BF0E9
split-complementary
#9E5BF0 #F0E95B #63F05B
monochromatic
#6011BF #7D23EB #9E5BF0 #BF93F5 #E0CBFA

Accessibility & contrast

On white

4.03
#9E5BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9E5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BF0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BF0#FFFFFF#000000##000000
##9E5BF01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#237EED
Tritanopia (blue-blind)
#8D7B9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5bf0;
/* rgb */ color: rgb(158, 91, 240);
/* oklch */ color: oklch(61.9% 0.215 301.0);
Tailwind
colors: {
  custom: {
    50: '#c08df6',
    500: '#9e5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bf0;
$custom-light: #c08df6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bf0",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 266.98,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.21531,
    "h": 301
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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