#9A2EAF#9A2EAF

#9A2EAF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 320.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9A2EAF
RGBrgb(154, 46, 175)
HSLhsl(290, 58%, 43%)
HSVhsv(290, 74%, 69%)
CMYKcmyk(12%, 73.7%, 0%, 31.4%)
CIE-LABlab(41.09, 61.11, -46.80)
CIE-LCHlch(41.09, 76.97, 322.55°)
OKLaboklab(51.9% 0.1593 -0.1311)
OKLCHoklch(51.9% 0.206 320.5)
XYZxyz(22.0404, 11.9203, 41.6890)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EAF #43AF2E
analogous
#5A2EAF #9A2EAF #AF2E83
triadic
#9A2EAF #AF9A2E #2EAF9A
tetradic
#9A2EAF #AF5A2E #43AF2E #2E83AF
square
#9A2EAF #AF5A2E #43AF2E #2E83AF
split-complementary
#9A2EAF #83AF2E #2EAF5A
monochromatic
#45154E #6F217F #9A2EAF #BA4BD0 #CC7BDC

Accessibility & contrast

On white

6.21
#9A2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9A2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EAF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EAF#FFFFFF#000000##FFFFFF
##9A2EAF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#9B476C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2eaf;
/* rgb */ color: rgb(154, 46, 175);
/* oklch */ color: oklch(51.9% 0.206 320.5);
Tailwind
colors: {
  custom: {
    50: '#bc72c7',
    500: '#9a2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eaf;
$custom-light: #bc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eaf",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 290.233,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.20629,
    "h": 320.5
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#9A2EAF
secondary
#81C574
accent
#E24660
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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