#9A38C3#9A38C3

#9A38C3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.213 H 313.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9A38C3
RGBrgb(154, 56, 195)
HSLhsl(282, 55%, 49%)
HSVhsv(282, 71%, 76%)
CMYKcmyk(21%, 71.3%, 0%, 23.5%)
CIE-LABlab(43.71, 61.22, -54.33)
CIE-LCHlch(43.71, 81.85, 318.41°)
OKLaboklab(54.18% 0.1475 -0.1532)
OKLCHoklch(54.18% 0.213 313.9)
XYZxyz(24.5892, 13.6393, 52.9565)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A38C3 #61C338
analogous
#5538C3 #9A38C3 #C338A7
triadic
#9A38C3 #C39A38 #38C39A
tetradic
#9A38C3 #C35538 #61C338 #38A7C3
square
#9A38C3 #C35538 #61C338 #38A7C3
split-complementary
#9A38C3 #A7C338 #38C355
monochromatic
#4F1D64 #742A93 #9A38C3 #B365D3 #CA95E1

Accessibility & contrast

On white

5.63
#9A38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9A38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A38C3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A38C3#FFFFFF#000000##FFFFFF
##9A38C31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#2F6AC0
Tritanopia (blue-blind)
#96567A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a38c3;
/* rgb */ color: rgb(154, 56, 195);
/* oklch */ color: oklch(54.2% 0.213 313.9);
Tailwind
colors: {
  custom: {
    50: '#bc77d6',
    500: '#9a38c3',
    950: '#000000',
  },
}
SCSS
$custom: #9a38c3;
$custom-light: #bc77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a38c3",
  "rgb": {
    "r": 154,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 282.302,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.21273,
    "h": 313.9
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#9A38C3
secondary
#9ECC8B
accent
#DF4975
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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