#9A2ECD#9A2ECD

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

Color values

HEX#9A2ECD
RGBrgb(154, 46, 205)
HSLhsl(281, 63%, 49%)
HSVhsv(281, 78%, 80%)
CMYKcmyk(24.9%, 77.6%, 0%, 19.6%)
CIE-LABlab(43.11, 66.93, -61.10)
CIE-LCHlch(43.11, 90.63, 317.61°)
OKLaboklab(53.97% 0.1551 -0.1731)
OKLCHoklch(53.97% 0.232 311.9)
XYZxyz(25.3208, 13.2325, 58.9660)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2ECD #61CD2E
analogous
#4B2ECD #9A2ECD #CD2EB1
triadic
#9A2ECD #CD9A2E #2ECD9A
tetradic
#9A2ECD #CD4B2E #61CD2E #2EB1CD
square
#9A2ECD #CD4B2E #61CD2E #2EB1CD
split-complementary
#9A2ECD #B1CD2E #2ECD4B
monochromatic
#4F1869 #74239B #9A2ECD #B35DDB #CA8FE6

Accessibility & contrast

On white

5.76
#9A2ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9A2ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2ECD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2ECD#FFFFFF#000000##FFFFFF
##9A2ECD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2ecd;
/* rgb */ color: rgb(154, 46, 205);
/* oklch */ color: oklch(54.0% 0.232 311.9);
Tailwind
colors: {
  custom: {
    50: '#bd73dd',
    500: '#9a2ecd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ecd;
$custom-light: #bd73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ecd",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 280.755,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.23238,
    "h": 311.9
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A2ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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