#9B2ECA#9B2ECA

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

Color values

HEX#9B2ECA
RGBrgb(155, 46, 202)
HSLhsl(282, 63%, 49%)
HSVhsv(282, 77%, 79%)
CMYKcmyk(23.3%, 77.2%, 0%, 20.8%)
CIE-LABlab(43.04, 66.51, -59.47)
CIE-LCHlch(43.04, 89.22, 318.20°)
OKLaboklab(53.89% 0.1569 -0.1682)
OKLCHoklch(53.89% 0.23 313)
XYZxyz(25.1533, 13.1876, 57.0861)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2ECA #5DCA2E
analogous
#4D2ECA #9B2ECA #CA2EAB
triadic
#9B2ECA #CA9B2E #2ECA9B
tetradic
#9B2ECA #CA4D2E #5DCA2E #2EABCA
square
#9B2ECA #CA4D2E #5DCA2E #2EABCA
split-complementary
#9B2ECA #ABCA2E #2ECA4D
monochromatic
#4E1766 #752398 #9B2ECA #B45BDA #CB8DE5

Accessibility & contrast

On white

5.77
#9B2ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2ECA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2ECA#FFFFFF#000000##FFFFFF
##9B2ECA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1868C7
Tritanopia (blue-blind)
#96537C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2eca;
/* rgb */ color: rgb(155, 46, 202);
/* oklch */ color: oklch(53.9% 0.230 313.0);
Tailwind
colors: {
  custom: {
    50: '#bd73db',
    500: '#9b2eca',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eca;
$custom-light: #bd73db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eca",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 281.923,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.23005,
    "h": 313
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#9B2ECA
secondary
#9BCF84
accent
#E64273
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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