#7538C4#7538C4

#7538C4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.205 H 298.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7538C4
RGBrgb(117, 56, 196)
HSLhsl(266, 56%, 49%)
HSVhsv(266, 71%, 77%)
CMYKcmyk(40.3%, 71.4%, 0%, 23.1%)
CIE-LABlab(38.89, 54.27, -62.96)
CIE-LCHlch(38.89, 83.12, 310.76°)
OKLaboklab(49.74% 0.0976 -0.1798)
OKLCHoklch(49.74% 0.205 298.5)
XYZxyz(18.7116, 10.5955, 53.2732)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538C4 #87C438
analogous
#3841C4 #7538C4 #BB38C4
triadic
#7538C4 #C47538 #38C475
tetradic
#7538C4 #C43841 #87C438 #38C4BB
square
#7538C4 #C43841 #87C438 #38C4BB
split-complementary
#7538C4 #C4BB38 #41C438
monochromatic
#3C1D65 #592A94 #7538C4 #9666D3 #B696E1

Accessibility & contrast

On white

6.73
#7538C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7538C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538C4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538C4#FFFFFF#000000##FFFFFF
##7538C41.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#625B7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7538c4;
/* rgb */ color: rgb(117, 56, 196);
/* oklch */ color: oklch(49.7% 0.205 298.5);
Tailwind
colors: {
  custom: {
    50: '#a374d7',
    500: '#7538c4',
    950: '#000000',
  },
}
SCSS
$custom: #7538c4;
$custom-light: #a374d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7538c4",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 266.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.20463,
    "h": 298.5
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#7538C4
secondary
#B0CC8C
accent
#DF499E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7538C4

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

Preview Lab → · Contrast checker → · Palette generator →

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