#9B3ECC#9B3ECC

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

Color values

HEX#9B3ECC
RGBrgb(155, 62, 204)
HSLhsl(279, 58%, 52%)
HSVhsv(279, 70%, 80%)
CMYKcmyk(24%, 69.6%, 0%, 20%)
CIE-LABlab(45.32, 60.82, -56.94)
CIE-LCHlch(45.32, 83.32, 316.89°)
OKLaboklab(55.55% 0.1417 -0.1609)
OKLCHoklch(55.55% 0.214 311.4)
XYZxyz(26.1372, 14.7741, 58.5899)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ECC #6FCC3E
analogous
#543ECC #9B3ECC #CC3EB6
triadic
#9B3ECC #CC9B3E #3ECC9B
tetradic
#9B3ECC #CC543E #6FCC3E #3EB6CC
square
#9B3ECC #CC543E #6FCC3E #3EB6CC
split-complementary
#9B3ECC #B6CC3E #3ECC54
monochromatic
#551E72 #792BA2 #9B3ECC #B46ED9 #CD9FE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B3ECC#FFFFFF#000000##FFFFFF
##9B3ECC1.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)
#0067D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#955D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3ecc;
/* rgb */ color: rgb(155, 62, 204);
/* oklch */ color: oklch(55.5% 0.214 311.4);
Tailwind
colors: {
  custom: {
    50: '#bd7bdc',
    500: '#9b3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ecc;
$custom-light: #bd7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ecc",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 279.296,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.21441,
    "h": 311.4
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#9B3ECC
secondary
#A9D294
accent
#E1467C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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