#9538C9#9538C9

#9538C9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.217 H 310.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9538C9
RGBrgb(149, 56, 201)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 72%, 79%)
CMYKcmyk(25.9%, 72.1%, 0%, 21.2%)
CIE-LABlab(43.41, 61.47, -58.34)
CIE-LCHlch(43.41, 84.74, 316.50°)
OKLaboklab(53.95% 0.1404 -0.1652)
OKLCHoklch(53.95% 0.217 310.4)
XYZxyz(24.3492, 13.4355, 56.5576)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538C9 #6CC938
analogous
#4D38C9 #9538C9 #C938B4
triadic
#9538C9 #C99538 #38C995
tetradic
#9538C9 #C94D38 #6CC938 #38B4C9
square
#9538C9 #C94D38 #6CC938 #38B4C9
split-complementary
#9538C9 #B4C938 #38C94D
monochromatic
#4E1D6A #722A9A #9538C9 #AF68D6 #C898E3

Accessibility & contrast

On white

5.70
#9538C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9538C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538C9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538C9#FFFFFF#000000##FFFFFF
##9538C91.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#1B68C6
Tritanopia (blue-blind)
#8E597D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9538c9;
/* rgb */ color: rgb(149, 56, 201);
/* oklch */ color: oklch(54.0% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#b977da',
    500: '#9538c9',
    950: '#000000',
  },
}
SCSS
$custom: #9538c9;
$custom-light: #b977da;
$custom-dark: #000000;
JSON
{
  "hex": "#9538c9",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 278.483,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.21676,
    "h": 310.4
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#9538C9
secondary
#A5CF8E
accent
#E1477E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9538C9

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

Preview Lab → · Contrast checker → · Palette generator →

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