#9538AD#9538AD

#9538AD is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.190 H 318.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9538AD
RGBrgb(149, 56, 173)
HSLhsl(288, 51%, 45%)
HSVhsv(288, 68%, 68%)
CMYKcmyk(13.9%, 67.6%, 0%, 32.2%)
CIE-LABlab(41.59, 55.72, -44.86)
CIE-LCHlch(41.59, 71.53, 321.16°)
OKLaboklab(52.07% 0.143 -0.1256)
OKLCHoklch(52.07% 0.19 318.7)
XYZxyz(21.3504, 12.2360, 40.7642)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538AD #50AD38
analogous
#5A38AD #9538AD #AD388B
triadic
#9538AD #AD9538 #38AD95
tetradic
#9538AD #AD5A38 #50AD38 #388BAD
square
#9538AD #AD5A38 #50AD38 #388BAD
split-complementary
#9538AD #8BAD38 #38AD5A
monochromatic
#451A51 #6D297F #9538AD #B259C9 #C887D8

Accessibility & contrast

On white

6.09
#9538AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9538AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538AD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538AD#FFFFFF#000000##FFFFFF
##9538AD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065CB0
Deuteranopia (green-blind)
#3F65AA
Tritanopia (blue-blind)
#954D6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9538ad;
/* rgb */ color: rgb(149, 56, 173);
/* oklch */ color: oklch(52.1% 0.190 318.7);
Tailwind
colors: {
  custom: {
    50: '#b776c6',
    500: '#9538ad',
    950: '#000000',
  },
}
SCSS
$custom: #9538ad;
$custom-light: #b776c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9538ad",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 287.692,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.19035,
    "h": 318.7
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#9538AD
secondary
#8CC27F
accent
#DB4D6A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9538AD

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

Preview Lab → · Contrast checker → · Palette generator →

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