#9B3ED2#9B3ED2

#9B3ED2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.220 H 309.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9B3ED2
RGBrgb(155, 62, 210)
HSLhsl(278, 62%, 53%)
HSVhsv(278, 70%, 82%)
CMYKcmyk(26.2%, 70.5%, 0%, 17.6%)
CIE-LABlab(45.73, 62.10, -59.75)
CIE-LCHlch(45.73, 86.17, 316.10°)
OKLaboklab(55.96% 0.141 -0.1691)
OKLCHoklch(55.96% 0.22 309.8)
XYZxyz(26.8708, 15.0675, 62.4531)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ED2 #75D23E
analogous
#513ED2 #9B3ED2 #D23EBF
triadic
#9B3ED2 #D29B3E #3ED29B
tetradic
#9B3ED2 #D2513E #75D23E #3EBFD2
square
#9B3ED2 #D2513E #75D23E #3EBFD2
split-complementary
#9B3ED2 #BFD23E #3ED251
monochromatic
#571C79 #7A28AB #9B3ED2 #B570DE #CEA1E9

Accessibility & contrast

On white

5.23
#9B3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9B3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3ED2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3ED2#FFFFFF#000000##FFFFFF
##9B3ED21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#935F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3ed2;
/* rgb */ color: rgb(155, 62, 210);
/* oklch */ color: oklch(56.0% 0.220 309.8);
Tailwind
colors: {
  custom: {
    50: '#bd7be1',
    500: '#9b3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ed2;
$custom-light: #bd7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ed2",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 277.703,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.2202,
    "h": 309.8
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#9B3ED2
secondary
#AED696
accent
#E5437F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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