#9A2EC3#9A2EC3

#9A2EC3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.224 H 314.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9A2EC3
RGBrgb(154, 46, 195)
HSLhsl(283, 62%, 47%)
HSVhsv(283, 76%, 76%)
CMYKcmyk(21%, 76.4%, 0%, 23.5%)
CIE-LABlab(42.41, 64.94, -56.44)
CIE-LCHlch(42.41, 86.04, 319.01°)
OKLaboklab(53.26% 0.1569 -0.1594)
OKLCHoklch(53.26% 0.224 314.5)
XYZxyz(24.1521, 12.7650, 52.8108)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EC3 #57C32E
analogous
#502EC3 #9A2EC3 #C32EA2
triadic
#9A2EC3 #C39A2E #2EC39A
tetradic
#9A2EC3 #C3502E #57C32E #2EA2C3
square
#9A2EC3 #C3502E #57C32E #2EA2C3
split-complementary
#9A2EC3 #A2C32E #2EC350
monochromatic
#4C1760 #732291 #9A2EC3 #B457D7 #CA88E3

Accessibility & contrast

On white

5.91
#9A2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9A2EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EC3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EC3#FFFFFF#000000##FFFFFF
##9A2EC31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2467C0
Tritanopia (blue-blind)
#965078
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2ec3;
/* rgb */ color: rgb(154, 46, 195);
/* oklch */ color: oklch(53.3% 0.224 314.5);
Tailwind
colors: {
  custom: {
    50: '#bc73d6',
    500: '#9a2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ec3;
$custom-light: #bc73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ec3",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 283.49,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.2236,
    "h": 314.5
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#9A2EC3
secondary
#95CD80
accent
#E5436F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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