#9B3CDD#9B3CDD

#9B3CDD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.233 H 307.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B3CDD
RGBrgb(155, 60, 221)
HSLhsl(275, 70%, 55%)
HSVhsv(275, 73%, 87%)
CMYKcmyk(29.9%, 72.9%, 0%, 13.3%)
CIE-LABlab(46.21, 65.28, -65.27)
CIE-LCHlch(46.21, 92.31, 315.01°)
OKLaboklab(56.55% 0.1412 -0.1854)
OKLCHoklch(56.55% 0.233 307.3)
XYZxyz(28.1818, 15.4211, 69.8845)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CDD #7EDD3C
analogous
#4B3CDD #9B3CDD #DD3CCE
triadic
#9B3CDD #DD9B3C #3CDD9B
tetradic
#9B3CDD #DD4B3C #7EDD3C #3CCEDD
square
#9B3CDD #DD4B3C #7EDD3C #3CCEDD
split-complementary
#9B3CDD #CEDD3C #3CDD4B
monochromatic
#591887 #7C21BB #9B3CDD #B670E6 #D0A4EF

Accessibility & contrast

On white

5.14
#9B3CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B3CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CDD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CDD#FFFFFF#000000##FFFFFF
##9B3CDD1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#90628A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3cdd;
/* rgb */ color: rgb(155, 60, 221);
/* oklch */ color: oklch(56.5% 0.233 307.3);
Tailwind
colors: {
  custom: {
    50: '#be7ae8',
    500: '#9b3cdd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cdd;
$custom-light: #be7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cdd",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 221
  },
  "hsl": {
    "h": 275.404,
    "s": 70.306,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.23302,
    "h": 307.3
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#9B3CDD
secondary
#B4DC99
accent
#ED3B84
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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