#9538C5#9538C5

#9538C5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.213 H 311.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9538C5
RGBrgb(149, 56, 197)
HSLhsl(280, 56%, 50%)
HSVhsv(280, 72%, 77%)
CMYKcmyk(24.4%, 71.6%, 0%, 22.7%)
CIE-LABlab(43.14, 60.62, -56.46)
CIE-LCHlch(43.14, 82.84, 317.04°)
OKLaboklab(53.67% 0.1409 -0.1596)
OKLCHoklch(53.67% 0.213 311.4)
XYZxyz(23.8848, 13.2497, 54.1117)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538C5 #68C538
analogous
#4E38C5 #9538C5 #C538AF
triadic
#9538C5 #C59538 #38C595
tetradic
#9538C5 #C54E38 #68C538 #38AFC5
square
#9538C5 #C54E38 #68C538 #38AFC5
split-complementary
#9538C5 #AFC538 #38C54E
monochromatic
#4D1D66 #712A95 #9538C5 #AF67D4 #C896E1

Accessibility & contrast

On white

5.75
#9538C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9538C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538C5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538C5#FFFFFF#000000##FFFFFF
##9538C51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#2368C2
Tritanopia (blue-blind)
#8F577B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9538c5;
/* rgb */ color: rgb(149, 56, 197);
/* oklch */ color: oklch(53.7% 0.213 311.4);
Tailwind
colors: {
  custom: {
    50: '#b977d7',
    500: '#9538c5',
    950: '#000000',
  },
}
SCSS
$custom: #9538c5;
$custom-light: #b977d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9538c5",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 279.574,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.21296,
    "h": 311.4
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#9538C5
secondary
#A2CD8C
accent
#DF497C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9538C5

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

Preview Lab → · Contrast checker → · Palette generator →

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