#9538CD#9538CD

#9538CD is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.221 H 309.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9538CD
RGBrgb(149, 56, 205)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(27.3%, 72.7%, 0%, 19.6%)
CIE-LABlab(43.69, 62.32, -60.20)
CIE-LCHlch(43.69, 86.65, 315.99°)
OKLaboklab(54.24% 0.1398 -0.1706)
OKLCHoklch(54.24% 0.221 309.3)
XYZxyz(24.8258, 13.6262, 59.0681)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538CD #70CD38
analogous
#4A38CD #9538CD #CD38BA
triadic
#9538CD #CD9538 #38CD95
tetradic
#9538CD #CD4A38 #70CD38 #38BACD
square
#9538CD #CD4A38 #70CD38 #38BACD
split-complementary
#9538CD #BACD38 #38CD4A
monochromatic
#501C6F #7328A0 #9538CD #AF69D9 #C99AE6

Accessibility & contrast

On white

5.64
#9538CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9538CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538CD#FFFFFF#000000##FFFFFF
##9538CD1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#1068CA
Tritanopia (blue-blind)
#8D5A80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9538cd;
/* rgb */ color: rgb(149, 56, 205);
/* oklch */ color: oklch(54.2% 0.221 309.3);
Tailwind
colors: {
  custom: {
    50: '#b977dd',
    500: '#9538cd',
    950: '#000000',
  },
}
SCSS
$custom: #9538cd;
$custom-light: #b977dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9538cd",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 277.45,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.22057,
    "h": 309.3
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#9538CD
secondary
#A8D18F
accent
#E34580
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9538CD

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

Preview Lab → · Contrast checker → · Palette generator →

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