#9538D3#9538D3

#9538D3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.226 H 307.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9538D3
RGBrgb(149, 56, 211)
HSLhsl(276, 64%, 52%)
HSVhsv(276, 73%, 83%)
CMYKcmyk(29.4%, 73.5%, 0%, 17.3%)
CIE-LABlab(44.12, 63.61, -62.96)
CIE-LCHlch(44.12, 89.50, 315.29°)
OKLaboklab(54.68% 0.1388 -0.1788)
OKLCHoklch(54.68% 0.226 307.8)
XYZxyz(25.5640, 13.9214, 62.9558)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538D3 #76D338
analogous
#4838D3 #9538D3 #D338C4
triadic
#9538D3 #D39538 #38D395
tetradic
#9538D3 #D34838 #76D338 #38C4D3
square
#9538D3 #D34838 #76D338 #38C4D3
split-complementary
#9538D3 #C4D338 #38D348
monochromatic
#521A76 #7425A9 #9538D3 #B06ADE #CA9CE9

Accessibility & contrast

On white

5.55
#9538D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9538D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538D3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538D3#FFFFFF#000000##FFFFFF
##9538D31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#8B5D83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9538d3;
/* rgb */ color: rgb(149, 56, 211);
/* oklch */ color: oklch(54.7% 0.226 307.8);
Tailwind
colors: {
  custom: {
    50: '#b977e1',
    500: '#9538d3',
    950: '#000000',
  },
}
SCSS
$custom: #9538d3;
$custom-light: #b977e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9538d3",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 276,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.22629,
    "h": 307.8
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#9538D3
secondary
#ADD592
accent
#E74183
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9538D3

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

Preview Lab → · Contrast checker → · Palette generator →

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