#9A239D#9A239D

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

Color values

HEX#9A239D
RGBrgb(154, 35, 157)
HSLhsl(299, 64%, 38%)
HSVhsv(299, 78%, 62%)
CMYKcmyk(1.9%, 77.7%, 0%, 38.4%)
CIE-LABlab(38.74, 61.52, -39.78)
CIE-LCHlch(38.74, 73.26, 327.11°)
OKLaboklab(49.88% 0.1702 -0.1105)
OKLCHoklch(49.88% 0.203 327)
XYZxyz(20.0129, 10.5078, 32.8659)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A239D #269D23
analogous
#5D239D #9A239D #9D2363
triadic
#9A239D #9D9A23 #239D9A
tetradic
#9A239D #9D5D23 #269D23 #23639D
square
#9A239D #9D5D23 #269D23 #23639D
split-complementary
#9A239D #639D23 #239D5D
monochromatic
#380D39 #69186B #9A239D #CB2ECF #D85FDB

Accessibility & contrast

On white

6.77
#9A239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9A239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A239D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A239D#FFFFFF#000000##FFFFFF
##9A239D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#9E385F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a239d;
/* rgb */ color: rgb(154, 35, 157);
/* oklch */ color: oklch(49.9% 0.203 327.0);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9a239d',
    950: '#000000',
  },
}
SCSS
$custom: #9a239d;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a239d",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 298.525,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49879,
    "c": 0.20295,
    "h": 327
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#9A239D
secondary
#5EC05C
accent
#E74145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A239D

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

Preview Lab → · Contrast checker → · Palette generator →

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