#9A238D#9A238D

#9A238D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.191 H 333.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9A238D
RGBrgb(154, 35, 141)
HSLhsl(307, 63%, 37%)
HSVhsv(307, 77%, 60%)
CMYKcmyk(0%, 77.3%, 8.4%, 39.6%)
CIE-LABlab(37.84, 58.93, -31.48)
CIE-LCHlch(37.84, 66.81, 331.89°)
OKLaboklab(48.94% 0.1702 -0.0864)
OKLCHoklch(48.94% 0.191 333.1)
XYZxyz(18.7353, 9.9968, 26.1370)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A238D #239A30
analogous
#6C239A #9A238D #9A2351
triadic
#9A238D #8D9A23 #238D9A
tetradic
#9A238D #9A6C23 #239A30 #23519A
square
#9A238D #9A6C23 #239A30 #23519A
split-complementary
#9A238D #519A23 #239A6C
monochromatic
#360C32 #68185F #9A238D #CC2EBB #DA5DCD

Accessibility & contrast

On white

7.00
#9A238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A238D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A238D#FFFFFF#000000##FFFFFF
##9A238D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A13056
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a238d;
/* rgb */ color: rgb(154, 35, 141);
/* oklch */ color: oklch(48.9% 0.191 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6caf',
    500: '#9a238d',
    950: '#000000',
  },
}
SCSS
$custom: #9a238d;
$custom-light: #bb6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a238d",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 306.555,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.19089,
    "h": 333.1
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#9A238D
secondary
#5ABF65
accent
#E65442
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9A238D

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

Preview Lab → · Contrast checker → · Palette generator →

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