#9B2ECD#9B2ECD

#9B2ECD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.233 H 312.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9B2ECD
RGBrgb(155, 46, 205)
HSLhsl(281, 63%, 49%)
HSVhsv(281, 78%, 80%)
CMYKcmyk(24.4%, 77.6%, 0%, 19.6%)
CIE-LABlab(43.26, 67.11, -60.86)
CIE-LCHlch(43.26, 90.60, 317.80°)
OKLaboklab(54.11% 0.1564 -0.1723)
OKLCHoklch(54.11% 0.233 312.2)
XYZxyz(25.5120, 13.3311, 58.9750)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2ECD #60CD2E
analogous
#4B2ECD #9B2ECD #CD2EB0
triadic
#9B2ECD #CD9B2E #2ECD9B
tetradic
#9B2ECD #CD4B2E #60CD2E #2EB0CD
square
#9B2ECD #CD4B2E #60CD2E #2EB0CD
split-complementary
#9B2ECD #B0CD2E #2ECD4B
monochromatic
#4F1869 #75239B #9B2ECD #B35DDB #CB8FE6

Accessibility & contrast

On white

5.73
#9B2ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9B2ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2ECD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2ECD#FFFFFF#000000##FFFFFF
##9B2ECD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0F68CA
Tritanopia (blue-blind)
#95557D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2ecd;
/* rgb */ color: rgb(155, 46, 205);
/* oklch */ color: oklch(54.1% 0.233 312.2);
Tailwind
colors: {
  custom: {
    50: '#be73dd',
    500: '#9b2ecd',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ecd;
$custom-light: #be73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ecd",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 281.132,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.23268,
    "h": 312.2
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#9B2ECD
secondary
#9ED086
accent
#E64175
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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