#9B5CED#9B5CED

#9B5CED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.210 H 300.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B5CED
RGBrgb(155, 92, 237)
HSLhsl(266, 80%, 65%)
HSVhsv(266, 61%, 93%)
CMYKcmyk(34.6%, 61.2%, 0%, 7.1%)
CIE-LABlab(52.66, 54.14, -63.87)
CIE-LCHlch(52.66, 83.73, 310.29°)
OKLaboklab(61.52% 0.106 -0.1814)
OKLCHoklch(61.52% 0.21 300.3)
XYZxyz(32.6271, 20.7370, 82.3881)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CED #AEED5C
analogous
#5C66ED #9B5CED #E35CED
triadic
#9B5CED #ED9B5C #5CED9B
tetradic
#9B5CED #ED5C66 #AEED5C #5CEDE3
square
#9B5CED #ED5C66 #AEED5C #5CEDE3
split-complementary
#9B5CED #EDE35C #66ED5C
monochromatic
#5C15BA #7925E7 #9B5CED #BD93F3 #DFCAF9

Accessibility & contrast

On white

4.08
#9B5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9B5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CED
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CED#FFFFFF#000000##000000
##9B5CED1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#897B9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b5ced;
/* rgb */ color: rgb(155, 92, 237);
/* oklch */ color: oklch(61.5% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#bd8df4',
    500: '#9b5ced',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ced;
$custom-light: #bd8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ced",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 266.069,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.21009,
    "h": 300.3
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#9B5CED
secondary
#D6EBB9
accent
#DC0981
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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