#7538C1#7538C1

#7538C1 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.201 H 299.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7538C1
RGBrgb(117, 56, 193)
HSLhsl(267, 55%, 49%)
HSVhsv(267, 71%, 76%)
CMYKcmyk(39.4%, 71%, 0%, 24.3%)
CIE-LABlab(38.66, 53.52, -61.59)
CIE-LCHlch(38.66, 81.59, 310.99°)
OKLaboklab(49.5% 0.0982 -0.1758)
OKLCHoklch(49.5% 0.201 299.2)
XYZxyz(18.3735, 10.4603, 51.4928)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538C1 #84C138
analogous
#3840C1 #7538C1 #BA38C1
triadic
#7538C1 #C17538 #38C175
tetradic
#7538C1 #C13840 #84C138 #38C1BA
square
#7538C1 #C13840 #84C138 #38C1BA
split-complementary
#7538C1 #C1BA38 #40C138
monochromatic
#3B1C62 #582A92 #7538C1 #9564D2 #B694E0

Accessibility & contrast

On white

6.79
#7538C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7538C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538C1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538C1#FFFFFF#000000##FFFFFF
##7538C11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#635A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7538c1;
/* rgb */ color: rgb(117, 56, 193);
/* oklch */ color: oklch(49.5% 0.201 299.2);
Tailwind
colors: {
  custom: {
    50: '#a374d5',
    500: '#7538c1',
    950: '#000000',
  },
}
SCSS
$custom: #7538c1;
$custom-light: #a374d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7538c1",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 266.715,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.20138,
    "h": 299.2
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#7538C1
secondary
#AECB8A
accent
#DE499C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7538C1

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

Preview Lab → · Contrast checker → · Palette generator →

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