#9538CE#9538CE

#9538CE is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.222 H 309.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9538CE
RGBrgb(149, 56, 206)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 73%, 81%)
CMYKcmyk(27.7%, 72.8%, 0%, 19.2%)
CIE-LABlab(43.76, 62.53, -60.66)
CIE-LCHlch(43.76, 87.12, 315.87°)
OKLaboklab(54.31% 0.1396 -0.172)
OKLCHoklch(54.31% 0.222 309.1)
XYZxyz(24.9469, 13.6746, 59.7058)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538CE #71CE38
analogous
#4A38CE #9538CE #CE38BC
triadic
#9538CE #CE9538 #38CE95
tetradic
#9538CE #CE4A38 #71CE38 #38BCCE
square
#9538CE #CE4A38 #71CE38 #38BCCE
split-complementary
#9538CE #BCCE38 #38CE4A
monochromatic
#501C70 #7328A1 #9538CE #AF69DA #C99AE6

Accessibility & contrast

On white

5.62
#9538CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9538CE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538CE#FFFFFF#000000##FFFFFF
##9538CE1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0C69CB
Tritanopia (blue-blind)
#8C5B80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9538ce;
/* rgb */ color: rgb(149, 56, 206);
/* oklch */ color: oklch(54.3% 0.222 309.1);
Tailwind
colors: {
  custom: {
    50: '#b977de',
    500: '#9538ce',
    950: '#000000',
  },
}
SCSS
$custom: #9538ce;
$custom-light: #b977de;
$custom-dark: #000000;
JSON
{
  "hex": "#9538ce",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 277.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.22151,
    "h": 309.1
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#9538CE
secondary
#A9D290
accent
#E44481
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9538CE

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

Preview Lab → · Contrast checker → · Palette generator →

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