#9538D0#9538D0

#9538D0 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.223 H 308.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9538D0
RGBrgb(149, 56, 208)
HSLhsl(277, 62%, 52%)
HSVhsv(277, 73%, 82%)
CMYKcmyk(28.4%, 73.1%, 0%, 18.4%)
CIE-LABlab(43.90, 62.96, -61.58)
CIE-LCHlch(43.90, 88.07, 315.63°)
OKLaboklab(54.46% 0.1393 -0.1747)
OKLCHoklch(54.46% 0.223 308.6)
XYZxyz(25.1914, 13.7724, 60.9935)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538D0 #73D038
analogous
#4938D0 #9538D0 #D038BF
triadic
#9538D0 #D09538 #38D095
tetradic
#9538D0 #D04938 #73D038 #38BFD0
square
#9538D0 #D04938 #73D038 #38BFD0
split-complementary
#9538D0 #BFD038 #38D049
monochromatic
#511B73 #7327A4 #9538D0 #AF6ADC #CA9BE7

Accessibility & contrast

On white

5.59
#9538D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9538D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538D0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538D0#FFFFFF#000000##FFFFFF
##9538D01.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0269CD
Tritanopia (blue-blind)
#8C5C81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9538d0;
/* rgb */ color: rgb(149, 56, 208);
/* oklch */ color: oklch(54.5% 0.223 308.6);
Tailwind
colors: {
  custom: {
    50: '#b977df',
    500: '#9538d0',
    950: '#000000',
  },
}
SCSS
$custom: #9538d0;
$custom-light: #b977df;
$custom-dark: #000000;
JSON
{
  "hex": "#9538d0",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 276.711,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.22343,
    "h": 308.6
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#9538D0
secondary
#AAD391
accent
#E54382
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9538D0

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

Preview Lab → · Contrast checker → · Palette generator →

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