#9A238F#9A238F

#9A238F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.192 H 332.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9A238F
RGBrgb(154, 35, 143)
HSLhsl(306, 63%, 37%)
HSVhsv(306, 77%, 60%)
CMYKcmyk(0%, 77.3%, 7.1%, 39.6%)
CIE-LABlab(37.94, 59.25, -32.53)
CIE-LCHlch(37.94, 67.59, 331.23°)
OKLaboklab(49.06% 0.1703 -0.0895)
OKLCHoklch(49.06% 0.192 332.3)
XYZxyz(18.8854, 10.0568, 26.9278)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A238F #239A2E
analogous
#6A239A #9A238F #9A2354
triadic
#9A238F #8F9A23 #238F9A
tetradic
#9A238F #9A6A23 #239A2E #23549A
square
#9A238F #9A6A23 #239A2E #23549A
split-complementary
#9A238F #549A23 #239A6A
monochromatic
#360C32 #681861 #9A238F #CC2EBD #DA5DCF

Accessibility & contrast

On white

6.97
#9A238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A238F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A238F#FFFFFF#000000##FFFFFF
##9A238F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A13158
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a238f;
/* rgb */ color: rgb(154, 35, 143);
/* oklch */ color: oklch(49.1% 0.192 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb6cb0',
    500: '#9a238f',
    950: '#000000',
  },
}
SCSS
$custom: #9a238f;
$custom-light: #bb6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a238f",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 305.546,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.19235,
    "h": 332.3
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#9A238F
secondary
#5ABF63
accent
#E65142
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120810
muted
#817A7F

Preview Lab

Preview with #9A238F

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

Preview Lab → · Contrast checker → · Palette generator →

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