#9538C1#9538C1

#9538C1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.209 H 312.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9538C1
RGBrgb(149, 56, 193)
HSLhsl(281, 55%, 49%)
HSVhsv(281, 71%, 76%)
CMYKcmyk(22.8%, 71%, 0%, 24.3%)
CIE-LABlab(42.87, 59.78, -54.57)
CIE-LCHlch(42.87, 80.94, 317.61°)
OKLaboklab(53.39% 0.1414 -0.1541)
OKLCHoklch(53.39% 0.209 312.5)
XYZxyz(23.4325, 13.0688, 51.7299)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538C1 #64C138
analogous
#5138C1 #9538C1 #C138A9
triadic
#9538C1 #C19538 #38C195
tetradic
#9538C1 #C15138 #64C138 #38A9C1
square
#9538C1 #C15138 #64C138 #38A9C1
split-complementary
#9538C1 #A9C138 #38C151
monochromatic
#4C1C62 #702A92 #9538C1 #AF64D2 #C794E0

Accessibility & contrast

On white

5.81
#9538C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9538C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538C1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538C1#FFFFFF#000000##FFFFFF
##9538C11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#2A67BE
Tritanopia (blue-blind)
#905679
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9538c1;
/* rgb */ color: rgb(149, 56, 193);
/* oklch */ color: oklch(53.4% 0.209 312.5);
Tailwind
colors: {
  custom: {
    50: '#b877d4',
    500: '#9538c1',
    950: '#000000',
  },
}
SCSS
$custom: #9538c1;
$custom-light: #b877d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9538c1",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 280.73,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.20916,
    "h": 312.5
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#9538C1
secondary
#9FCB8A
accent
#DE4979
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9538C1

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

Preview Lab → · Contrast checker → · Palette generator →

#9538C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva