#9A38C5#9A38C5

#9A38C5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.215 H 313.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9A38C5
RGBrgb(154, 56, 197)
HSLhsl(282, 56%, 50%)
HSVhsv(282, 72%, 77%)
CMYKcmyk(21.8%, 71.6%, 0%, 22.7%)
CIE-LABlab(43.84, 61.63, -55.28)
CIE-LCHlch(43.84, 82.79, 318.11°)
OKLaboklab(54.32% 0.1473 -0.156)
OKLCHoklch(54.32% 0.215 313.4)
XYZxyz(24.8169, 13.7304, 54.1554)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A38C5 #63C538
analogous
#5438C5 #9A38C5 #C538AA
triadic
#9A38C5 #C59A38 #38C59A
tetradic
#9A38C5 #C55438 #63C538 #38AAC5
square
#9A38C5 #C55438 #63C538 #38AAC5
split-complementary
#9A38C5 #AAC538 #38C554
monochromatic
#4F1D66 #752A95 #9A38C5 #B267D4 #CA96E1

Accessibility & contrast

On white

5.61
#9A38C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9A38C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A38C5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A38C5#FFFFFF#000000##FFFFFF
##9A38C51.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#2C6AC2
Tritanopia (blue-blind)
#96567B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a38c5;
/* rgb */ color: rgb(154, 56, 197);
/* oklch */ color: oklch(54.3% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#bc77d7',
    500: '#9a38c5',
    950: '#000000',
  },
}
SCSS
$custom: #9a38c5;
$custom-light: #bc77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a38c5",
  "rgb": {
    "r": 154,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 281.702,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.21459,
    "h": 313.4
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#9A38C5
secondary
#A0CD8C
accent
#DF4977
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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