#9A2ECC#9A2ECC

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

Color values

HEX#9A2ECC
RGBrgb(154, 46, 204)
HSLhsl(281, 63%, 49%)
HSVhsv(281, 77%, 80%)
CMYKcmyk(24.5%, 77.5%, 0%, 20%)
CIE-LABlab(43.04, 66.73, -60.64)
CIE-LCHlch(43.04, 90.17, 317.74°)
OKLaboklab(53.9% 0.1553 -0.1717)
OKLCHoklch(53.9% 0.232 312.1)
XYZxyz(25.2005, 13.1844, 58.3324)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2ECC #60CC2E
analogous
#4B2ECC #9A2ECC #CC2EAF
triadic
#9A2ECC #CC9A2E #2ECC9A
tetradic
#9A2ECC #CC4B2E #60CC2E #2EAFCC
square
#9A2ECC #CC4B2E #60CC2E #2EAFCC
split-complementary
#9A2ECC #AFCC2E #2ECC4B
monochromatic
#4F1768 #74239A #9A2ECC #B35DDA #CA8FE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2ECC#FFFFFF#000000##FFFFFF
##9A2ECC1.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)
#0061D0
Deuteranopia (green-blind)
#0E68C9
Tritanopia (blue-blind)
#94547D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a2ecc;
/* rgb */ color: rgb(154, 46, 204);
/* oklch */ color: oklch(53.9% 0.232 312.1);
Tailwind
colors: {
  custom: {
    50: '#bd73dc',
    500: '#9a2ecc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ecc;
$custom-light: #bd73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ecc",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 204
  },
  "hsl": {
    "h": 281.013,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.2315,
    "h": 312.1
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#9A2ECC
secondary
#9DD086
accent
#E64276
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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