#9A2EC0#9A2EC0

#9A2EC0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.221 H 315.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9A2EC0
RGBrgb(154, 46, 192)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 76%, 75%)
CMYKcmyk(19.8%, 76%, 0%, 24.7%)
CIE-LABlab(42.20, 64.35, -55.02)
CIE-LCHlch(42.20, 84.67, 319.47°)
OKLaboklab(53.05% 0.1573 -0.1552)
OKLCHoklch(53.05% 0.221 315.4)
XYZxyz(23.8163, 12.6307, 51.0424)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EC0 #54C02E
analogous
#512EC0 #9A2EC0 #C02E9D
triadic
#9A2EC0 #C09A2E #2EC09A
tetradic
#9A2EC0 #C0512E #54C02E #2E9DC0
square
#9A2EC0 #C0512E #54C02E #2E9DC0
split-complementary
#9A2EC0 #9DC02E #2EC051
monochromatic
#4B165D #72228F #9A2EC0 #B555D6 #CA86E2

Accessibility & contrast

On white

5.96
#9A2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9A2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EC0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EC0#FFFFFF#000000##FFFFFF
##9A2EC01.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#2966BD
Tritanopia (blue-blind)
#974F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2ec0;
/* rgb */ color: rgb(154, 46, 192);
/* oklch */ color: oklch(53.0% 0.221 315.4);
Tailwind
colors: {
  custom: {
    50: '#bc73d4',
    500: '#9a2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ec0;
$custom-light: #bc73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ec0",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 284.384,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.22098,
    "h": 315.4
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#9A2EC0
secondary
#92CC7E
accent
#E4436D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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