#9A2CC7#9A2CC7

#9A2CC7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.229 H 313.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9A2CC7
RGBrgb(154, 44, 199)
HSLhsl(283, 64%, 48%)
HSVhsv(283, 78%, 78%)
CMYKcmyk(22.6%, 77.9%, 0%, 22%)
CIE-LABlab(42.45, 66.40, -58.69)
CIE-LCHlch(42.45, 88.62, 318.53°)
OKLaboklab(53.38% 0.1578 -0.166)
OKLCHoklch(53.38% 0.229 313.6)
XYZxyz(24.5341, 12.7957, 55.1992)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CC7 #59C72C
analogous
#4D2CC7 #9A2CC7 #C72CA6
triadic
#9A2CC7 #C79A2C #2CC79A
tetradic
#9A2CC7 #C74D2C #59C72C #2CA6C7
square
#9A2CC7 #C74D2C #59C72C #2CA6C7
split-complementary
#9A2CC7 #A6C72C #2CC74D
monochromatic
#4C1663 #732195 #9A2CC7 #B456DA #CA89E5

Accessibility & contrast

On white

5.90
#9A2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9A2CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CC7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CC7#FFFFFF#000000##FFFFFF
##9A2CC71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#1A67C4
Tritanopia (blue-blind)
#955179
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2cc7;
/* rgb */ color: rgb(154, 44, 199);
/* oklch */ color: oklch(53.4% 0.229 313.6);
Tailwind
colors: {
  custom: {
    50: '#bd72d9',
    500: '#9a2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cc7;
$custom-light: #bd72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cc7",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 282.581,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.22902,
    "h": 313.6
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#9A2CC7
secondary
#97CF80
accent
#E74171
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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