#9A239E#9A239E

#9A239E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.204 H 326.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9A239E
RGBrgb(154, 35, 158)
HSLhsl(298, 64%, 38%)
HSVhsv(298, 78%, 62%)
CMYKcmyk(2.5%, 77.8%, 0%, 38%)
CIE-LABlab(38.80, 61.68, -40.29)
CIE-LCHlch(38.80, 73.68, 326.85°)
OKLaboklab(49.94% 0.1702 -0.112)
OKLCHoklch(49.94% 0.204 326.6)
XYZxyz(20.0987, 10.5421, 33.3174)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A239E #279E23
analogous
#5D239E #9A239E #9E2364
triadic
#9A239E #9E9A23 #239E9A
tetradic
#9A239E #9E5D23 #279E23 #23649E
square
#9A239E #9E5D23 #279E23 #23649E
split-complementary
#9A239E #649E23 #239E5D
monochromatic
#380D3A #69186C #9A239E #CB2ED0 #D860DC

Accessibility & contrast

On white

6.76
#9A239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9A239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A239E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A239E#FFFFFF#000000##FFFFFF
##9A239E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#9E3960
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a239e;
/* rgb */ color: rgb(154, 35, 158);
/* oklch */ color: oklch(49.9% 0.204 326.6);
Tailwind
colors: {
  custom: {
    50: '#bc6dbb',
    500: '#9a239e',
    950: '#000000',
  },
}
SCSS
$custom: #9a239e;
$custom-light: #bc6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a239e",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 298.049,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.20372,
    "h": 326.6
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#9A239E
secondary
#5FC15C
accent
#E74146
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A239E

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

Preview Lab → · Contrast checker → · Palette generator →

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