#9B3DCE#9B3DCE

#9B3DCE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.218 H 310.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9B3DCE
RGBrgb(155, 61, 206)
HSLhsl(279, 60%, 52%)
HSVhsv(279, 70%, 81%)
CMYKcmyk(24.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(45.31, 61.66, -58.12)
CIE-LCHlch(45.31, 84.74, 316.69°)
OKLaboklab(55.58% 0.1425 -0.1644)
OKLCHoklch(55.58% 0.218 310.9)
XYZxyz(26.3248, 14.7629, 59.8433)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DCE #70CE3D
analogous
#533DCE #9B3DCE #CE3DB8
triadic
#9B3DCE #CE9B3D #3DCE9B
tetradic
#9B3DCE #CE533D #70CE3D #3DB8CE
square
#9B3DCE #CE533D #70CE3D #3DB8CE
split-complementary
#9B3DCE #B8CE3D #3DCE53
monochromatic
#551D73 #7929A4 #9B3DCE #B46EDA #CD9FE7

Accessibility & contrast

On white

5.31
#9B3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9B3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DCE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DCE#FFFFFF#000000##FFFFFF
##9B3DCE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#945D82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3dce;
/* rgb */ color: rgb(155, 61, 206);
/* oklch */ color: oklch(55.6% 0.218 310.9);
Tailwind
colors: {
  custom: {
    50: '#bd7ade',
    500: '#9b3dce',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dce;
$custom-light: #bd7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dce",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 278.897,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55579,
    "c": 0.21754,
    "h": 310.9
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#9B3DCE
secondary
#AAD394
accent
#E3457C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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