#9B5EEF#9B5EEF

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

Color values

HEX#9B5EEF
RGBrgb(155, 94, 239)
HSLhsl(265, 82%, 65%)
HSVhsv(265, 61%, 94%)
CMYKcmyk(35.1%, 60.7%, 0%, 6.3%)
CIE-LABlab(53.17, 53.60, -64.16)
CIE-LCHlch(53.17, 83.60, 309.88°)
OKLaboklab(61.93% 0.1036 -0.1822)
OKLCHoklch(61.93% 0.21 299.6)
XYZxyz(33.0964, 21.2057, 83.9941)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EEF #B2EF5E
analogous
#5E6AEF #9B5EEF #E35EEF
triadic
#9B5EEF #EF9B5E #5EEF9B
tetradic
#9B5EEF #EF5E6A #B2EF5E #5EEFE3
square
#9B5EEF #EF5E6A #B2EF5E #5EEFE3
split-complementary
#9B5EEF #EFE35E #6AEF5E
monochromatic
#5C13C0 #7826E9 #9B5EEF #BE96F5 #E0CDFA

Accessibility & contrast

On white

4.01
#9B5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9B5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EEF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EEF#FFFFFF#000000##000000
##9B5EEF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b5eef;
/* rgb */ color: rgb(155, 94, 239);
/* oklch */ color: oklch(61.9% 0.210 299.6);
Tailwind
colors: {
  custom: {
    50: '#bd8ef5',
    500: '#9b5eef',
    950: '#000000',
  },
}
SCSS
$custom: #9b5eef;
$custom-light: #bd8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5eef",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 265.241,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.20965,
    "h": 299.6
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#9B5EEF
secondary
#D8EDBC
accent
#DE0784
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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