#9A2FBC#9A2FBC

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

Color values

HEX#9A2FBC
RGBrgb(154, 47, 188)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(18.1%, 75%, 0%, 26.3%)
CIE-LABlab(42.05, 63.22, -52.91)
CIE-LCHlch(42.05, 82.45, 320.07°)
OKLaboklab(52.86% 0.157 -0.149)
OKLCHoklch(52.86% 0.216 316.5)
XYZxyz(23.4187, 12.5349, 48.7531)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FBC #51BC2F
analogous
#532FBC #9A2FBC #BC2F97
triadic
#9A2FBC #BC9A2F #2FBC9A
tetradic
#9A2FBC #BC532F #51BC2F #2F97BC
square
#9A2FBC #BC532F #51BC2F #2F97BC
split-complementary
#9A2FBC #97BC2F #2FBC53
monochromatic
#4A175A #72238B #9A2FBC #B554D4 #CA85E0

Accessibility & contrast

On white

5.99
#9A2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9A2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FBC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FBC#FFFFFF#000000##FFFFFF
##9A2FBC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2fbc;
/* rgb */ color: rgb(154, 47, 188);
/* oklch */ color: oklch(52.9% 0.216 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc73d1',
    500: '#9a2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fbc;
$custom-light: #bc73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fbc",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 285.532,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.21646,
    "h": 316.5
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#9A2FBC
secondary
#8FCA7D
accent
#E3456B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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