#9A239F#9A239F

#9A239F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.205 H 326.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9A239F
RGBrgb(154, 35, 159)
HSLhsl(298, 64%, 38%)
HSVhsv(298, 78%, 62%)
CMYKcmyk(3.1%, 78%, 0%, 37.6%)
CIE-LABlab(38.86, 61.85, -40.80)
CIE-LCHlch(38.86, 74.10, 326.59°)
OKLaboklab(50% 0.1701 -0.1135)
OKLCHoklch(50% 0.205 326.3)
XYZxyz(20.1851, 10.5767, 33.7725)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A239F #289F23
analogous
#5C239F #9A239F #9F2366
triadic
#9A239F #9F9A23 #239F9A
tetradic
#9A239F #9F5C23 #289F23 #23669F
square
#9A239F #9F5C23 #289F23 #23669F
split-complementary
#9A239F #669F23 #239F5C
monochromatic
#390D3B #69186D #9A239F #CA2ED1 #D760DC

Accessibility & contrast

On white

6.74
#9A239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9A239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A239F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A239F#FFFFFF#000000##FFFFFF
##9A239F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#9E3961
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a239f;
/* rgb */ color: rgb(154, 35, 159);
/* oklch */ color: oklch(50.0% 0.205 326.3);
Tailwind
colors: {
  custom: {
    50: '#bc6dbc',
    500: '#9a239f',
    950: '#000000',
  },
}
SCSS
$custom: #9a239f;
$custom-light: #bc6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a239f",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 297.581,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.20451,
    "h": 326.3
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#9A239F
secondary
#61C15D
accent
#E74148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A239F

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

Preview Lab → · Contrast checker → · Palette generator →

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