#9A2EBC#9A2EBC

#9A2EBC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.217 H 316.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9A2EBC
RGBrgb(154, 46, 188)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(18.1%, 75.5%, 0%, 26.3%)
CIE-LABlab(41.93, 63.58, -53.11)
CIE-LCHlch(41.93, 82.84, 320.12°)
OKLaboklab(52.77% 0.1579 -0.1496)
OKLCHoklch(52.77% 0.217 316.5)
XYZxyz(23.3791, 12.4558, 48.7399)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EBC #50BC2E
analogous
#532EBC #9A2EBC #BC2E97
triadic
#9A2EBC #BC9A2E #2EBC9A
tetradic
#9A2EBC #BC532E #50BC2E #2E97BC
square
#9A2EBC #BC532E #50BC2E #2E97BC
split-complementary
#9A2EBC #97BC2E #2EBC53
monochromatic
#49165A #72228B #9A2EBC #B652D5 #CA84E1

Accessibility & contrast

On white

6.02
#9A2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9A2EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EBC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EBC#FFFFFF#000000##FFFFFF
##9A2EBC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#984D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2ebc;
/* rgb */ color: rgb(154, 46, 188);
/* oklch */ color: oklch(52.8% 0.217 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc72d1',
    500: '#9a2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ebc;
$custom-light: #bc72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ebc",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 285.634,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.21749,
    "h": 316.5
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#9A2EBC
secondary
#8FCA7C
accent
#E4446A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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