#9538AF#9538AF

#9538AF is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.192 H 318.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9538AF
RGBrgb(149, 56, 175)
HSLhsl(287, 52%, 45%)
HSVhsv(287, 68%, 69%)
CMYKcmyk(14.9%, 68%, 0%, 31.4%)
CIE-LABlab(41.71, 56.11, -45.84)
CIE-LCHlch(41.71, 72.46, 320.75°)
OKLaboklab(52.2% 0.1429 -0.1285)
OKLCHoklch(52.2% 0.192 318)
XYZxyz(21.5454, 12.3140, 41.7911)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538AF #52AF38
analogous
#5A38AF #9538AF #AF388D
triadic
#9538AF #AF9538 #38AF95
tetradic
#9538AF #AF5A38 #52AF38 #388DAF
square
#9538AF #AF5A38 #52AF38 #388DAF
split-complementary
#9538AF #8DAF38 #38AF5A
monochromatic
#461A52 #6E2981 #9538AF #B25ACA #C788D9

Accessibility & contrast

On white

6.06
#9538AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9538AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538AF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538AF#FFFFFF#000000##FFFFFF
##9538AF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#944E6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9538af;
/* rgb */ color: rgb(149, 56, 175);
/* oklch */ color: oklch(52.2% 0.192 318.0);
Tailwind
colors: {
  custom: {
    50: '#b876c7',
    500: '#9538af',
    950: '#000000',
  },
}
SCSS
$custom: #9538af;
$custom-light: #b876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9538af",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 286.891,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.19221,
    "h": 318
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#9538AF
secondary
#8EC380
accent
#DB4D6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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