#9B3EDA#9B3EDA

#9B3EDA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.228 H 307.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9B3EDA
RGBrgb(155, 62, 218)
HSLhsl(276, 68%, 55%)
HSVhsv(276, 72%, 85%)
CMYKcmyk(28.9%, 71.6%, 0%, 14.5%)
CIE-LABlab(46.28, 63.82, -63.44)
CIE-LCHlch(46.28, 89.98, 315.17°)
OKLaboklab(56.53% 0.1398 -0.18)
OKLCHoklch(56.53% 0.228 307.8)
XYZxyz(27.8924, 15.4762, 67.8339)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EDA #7DDA3E
analogous
#4D3EDA #9B3EDA #DA3ECB
triadic
#9B3EDA #DA9B3E #3EDA9B
tetradic
#9B3EDA #DA4D3E #7DDA3E #3ECBDA
square
#9B3EDA #DA4D3E #7DDA3E #3ECBDA
split-complementary
#9B3EDA #CBDA3E #3EDA4D
monochromatic
#591984 #7C23B8 #9B3EDA #B671E4 #D0A5EE

Accessibility & contrast

On white

5.13
#9B3EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9B3EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EDA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EDA#FFFFFF#000000##FFFFFF
##9B3EDA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#076FD7
Tritanopia (blue-blind)
#916288
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b3eda;
/* rgb */ color: rgb(155, 62, 218);
/* oklch */ color: oklch(56.5% 0.228 307.8);
Tailwind
colors: {
  custom: {
    50: '#be7be6',
    500: '#9b3eda',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eda;
$custom-light: #be7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eda",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 218
  },
  "hsl": {
    "h": 275.769,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.22792,
    "h": 307.8
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#9B3EDA
secondary
#B4DB99
accent
#EB3D83
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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