#9B2CCD#9B2CCD

#9B2CCD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.235 H 312.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9B2CCD
RGBrgb(155, 44, 205)
HSLhsl(281, 65%, 49%)
HSVhsv(281, 79%, 80%)
CMYKcmyk(24.4%, 78.5%, 0%, 19.6%)
CIE-LABlab(43.03, 67.77, -61.23)
CIE-LCHlch(43.03, 91.33, 317.90°)
OKLaboklab(53.95% 0.1579 -0.1734)
OKLCHoklch(53.95% 0.235 312.3)
XYZxyz(25.4357, 13.1784, 58.9496)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CCD #5ECD2C
analogous
#4A2CCD #9B2CCD #CD2CAF
triadic
#9B2CCD #CD9B2C #2CCD9B
tetradic
#9B2CCD #CD4A2C #5ECD2C #2CAFCD
square
#9B2CCD #CD4A2C #5ECD2C #2CAFCD
split-complementary
#9B2CCD #AFCD2C #2CCD4A
monochromatic
#4F1668 #75219B #9B2CCD #B45BDC #CB8DE7

Accessibility & contrast

On white

5.78
#9B2CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9B2CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CCD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CCD#FFFFFF#000000##FFFFFF
##9B2CCD1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0A68CA
Tritanopia (blue-blind)
#95547D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2ccd;
/* rgb */ color: rgb(155, 44, 205);
/* oklch */ color: oklch(53.9% 0.235 312.3);
Tailwind
colors: {
  custom: {
    50: '#be72dd',
    500: '#9b2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ccd;
$custom-light: #be72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ccd",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 281.366,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.23453,
    "h": 312.3
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#9B2CCD
secondary
#9CD184
accent
#E84074
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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