#9538C2#9538C2

#9538C2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.210 H 312.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9538C2
RGBrgb(149, 56, 194)
HSLhsl(280, 55%, 49%)
HSVhsv(280, 71%, 76%)
CMYKcmyk(23.2%, 71.1%, 0%, 23.9%)
CIE-LABlab(42.93, 59.99, -55.04)
CIE-LCHlch(42.93, 81.41, 317.46°)
OKLaboklab(53.46% 0.1413 -0.1555)
OKLCHoklch(53.46% 0.21 312.3)
XYZxyz(23.5444, 13.1136, 52.3194)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538C2 #65C238
analogous
#5038C2 #9538C2 #C238AA
triadic
#9538C2 #C29538 #38C295
tetradic
#9538C2 #C25038 #65C238 #38AAC2
square
#9538C2 #C25038 #65C238 #38AAC2
split-complementary
#9538C2 #AAC238 #38C250
monochromatic
#4C1D63 #712A93 #9538C2 #AF65D2 #C794E0

Accessibility & contrast

On white

5.80
#9538C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9538C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538C2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538C2#FFFFFF#000000##FFFFFF
##9538C21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#905679
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9538c2;
/* rgb */ color: rgb(149, 56, 194);
/* oklch */ color: oklch(53.5% 0.210 312.3);
Tailwind
colors: {
  custom: {
    50: '#b877d5',
    500: '#9538c2',
    950: '#000000',
  },
}
SCSS
$custom: #9538c2;
$custom-light: #b877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9538c2",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 280.435,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.21011,
    "h": 312.3
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#9538C2
secondary
#A0CB8A
accent
#DF497A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9538C2

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

Preview Lab → · Contrast checker → · Palette generator →

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