#9B3CD9#9B3CD9

#9B3CD9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.3% C 0.229 H 308.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9B3CD9
RGBrgb(155, 60, 217)
HSLhsl(276, 67%, 54%)
HSVhsv(276, 72%, 85%)
CMYKcmyk(28.6%, 72.4%, 0%, 14.9%)
CIE-LABlab(45.92, 64.42, -63.45)
CIE-LCHlch(45.92, 90.42, 315.44°)
OKLaboklab(56.26% 0.1419 -0.18)
OKLCHoklch(56.26% 0.229 308.2)
XYZxyz(27.6552, 15.2105, 67.1112)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CD9 #7AD93C
analogous
#4D3CD9 #9B3CD9 #D93CC8
triadic
#9B3CD9 #D99B3C #3CD99B
tetradic
#9B3CD9 #D94D3C #7AD93C #3CC8D9
square
#9B3CD9 #D94D3C #7AD93C #3CC8D9
split-complementary
#9B3CD9 #C8D93C #3CD94D
monochromatic
#581981 #7B23B5 #9B3CD9 #B56FE3 #D0A2ED

Accessibility & contrast

On white

5.20
#9B3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9B3CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CD9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CD9#FFFFFF#000000##FFFFFF
##9B3CD91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#046ED6
Tritanopia (blue-blind)
#916187
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b3cd9;
/* rgb */ color: rgb(155, 60, 217);
/* oklch */ color: oklch(56.3% 0.229 308.2);
Tailwind
colors: {
  custom: {
    50: '#be7ae6',
    500: '#9b3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cd9;
$custom-light: #be7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cd9",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 276.306,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.2292,
    "h": 308.2
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#9B3CD9
secondary
#B1DA97
accent
#EA3E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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