#7538C3#7538C3

#7538C3 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.204 H 298.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7538C3
RGBrgb(117, 56, 195)
HSLhsl(266, 55%, 49%)
HSVhsv(266, 71%, 76%)
CMYKcmyk(40%, 71.3%, 0%, 23.5%)
CIE-LABlab(38.81, 54.02, -62.50)
CIE-LCHlch(38.81, 82.61, 310.84°)
OKLaboklab(49.66% 0.0978 -0.1785)
OKLCHoklch(49.66% 0.204 298.7)
XYZxyz(18.5981, 10.5501, 52.6757)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538C3 #86C338
analogous
#3841C3 #7538C3 #BB38C3
triadic
#7538C3 #C37538 #38C375
tetradic
#7538C3 #C33841 #86C338 #38C3BB
square
#7538C3 #C33841 #86C338 #38C3BB
split-complementary
#7538C3 #C3BB38 #41C338
monochromatic
#3C1D64 #582A93 #7538C3 #9565D3 #B695E1

Accessibility & contrast

On white

6.75
#7538C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7538C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538C3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538C3#FFFFFF#000000##FFFFFF
##7538C31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#625A7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7538c3;
/* rgb */ color: rgb(117, 56, 195);
/* oklch */ color: oklch(49.7% 0.204 298.7);
Tailwind
colors: {
  custom: {
    50: '#a374d6',
    500: '#7538c3',
    950: '#000000',
  },
}
SCSS
$custom: #7538c3;
$custom-light: #a374d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7538c3",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 266.331,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.20355,
    "h": 298.7
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#7538C3
secondary
#AFCC8B
accent
#DF499D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7538C3

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

Preview Lab → · Contrast checker → · Palette generator →

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