#7538C5#7538C5

#7538C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.206 H 298.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7538C5
RGBrgb(117, 56, 197)
HSLhsl(266, 56%, 50%)
HSVhsv(266, 72%, 77%)
CMYKcmyk(40.6%, 71.6%, 0%, 22.7%)
CIE-LABlab(38.97, 54.52, -63.41)
CIE-LCHlch(38.97, 83.63, 310.69°)
OKLaboklab(49.82% 0.0974 -0.1812)
OKLCHoklch(49.82% 0.206 298.3)
XYZxyz(18.8258, 10.6412, 53.8746)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538C5 #88C538
analogous
#3842C5 #7538C5 #BB38C5
triadic
#7538C5 #C57538 #38C575
tetradic
#7538C5 #C53842 #88C538 #38C5BB
square
#7538C5 #C53842 #88C538 #38C5BB
split-complementary
#7538C5 #C5BB38 #42C538
monochromatic
#3C1D66 #592A95 #7538C5 #9667D4 #B796E1

Accessibility & contrast

On white

6.71
#7538C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7538C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538C5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538C5#FFFFFF#000000##FFFFFF
##7538C51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#615B7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7538c5;
/* rgb */ color: rgb(117, 56, 197);
/* oklch */ color: oklch(49.8% 0.206 298.3);
Tailwind
colors: {
  custom: {
    50: '#a374d8',
    500: '#7538c5',
    950: '#000000',
  },
}
SCSS
$custom: #7538c5;
$custom-light: #a374d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7538c5",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 265.957,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49815,
    "c": 0.20571,
    "h": 298.3
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#7538C5
secondary
#B1CD8C
accent
#DF499E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7538C5

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

Preview Lab → · Contrast checker → · Palette generator →

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