#9538CF#9538CF

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

Color values

HEX#9538CF
RGBrgb(149, 56, 207)
HSLhsl(277, 61%, 52%)
HSVhsv(277, 73%, 81%)
CMYKcmyk(28%, 72.9%, 0%, 18.8%)
CIE-LABlab(43.83, 62.75, -61.12)
CIE-LCHlch(43.83, 87.60, 315.75°)
OKLaboklab(54.38% 0.1394 -0.1733)
OKLCHoklch(54.38% 0.222 308.8)
XYZxyz(25.0688, 13.7233, 60.3476)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538CF #72CF38
analogous
#4A38CF #9538CF #CF38BD
triadic
#9538CF #CF9538 #38CF95
tetradic
#9538CF #CF4A38 #72CF38 #38BDCF
square
#9538CF #CF4A38 #72CF38 #38BDCF
split-complementary
#9538CF #BDCF38 #38CF4A
monochromatic
#501B71 #7327A3 #9538CF #AF69DB #CA9BE7

Accessibility & contrast

On white

5.61
#9538CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9538CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538CF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538CF#FFFFFF#000000##FFFFFF
##9538CF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0769CC
Tritanopia (blue-blind)
#8C5B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9538cf;
/* rgb */ color: rgb(149, 56, 207);
/* oklch */ color: oklch(54.4% 0.222 308.8);
Tailwind
colors: {
  custom: {
    50: '#b977df',
    500: '#9538cf',
    950: '#000000',
  },
}
SCSS
$custom: #9538cf;
$custom-light: #b977df;
$custom-dark: #000000;
JSON
{
  "hex": "#9538cf",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 276.954,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.22247,
    "h": 308.8
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9538CF

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

Preview Lab → · Contrast checker → · Palette generator →

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