#7538C7#7538C7

#7538C7 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.208 H 297.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7538C7
RGBrgb(117, 56, 199)
HSLhsl(266, 56%, 50%)
HSVhsv(266, 72%, 78%)
CMYKcmyk(41.2%, 71.9%, 0%, 22%)
CIE-LABlab(39.13, 55.02, -64.32)
CIE-LCHlch(39.13, 84.64, 310.55°)
OKLaboklab(49.98% 0.097 -0.1838)
OKLCHoklch(49.98% 0.208 297.8)
XYZxyz(19.0564, 10.7335, 55.0895)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538C7 #8AC738
analogous
#3843C7 #7538C7 #BC38C7
triadic
#7538C7 #C77538 #38C775
tetradic
#7538C7 #C73843 #8AC738 #38C7BC
square
#7538C7 #C73843 #8AC738 #38C7BC
split-complementary
#7538C7 #C7BC38 #43C738
monochromatic
#3D1D67 #592B97 #7538C7 #9668D4 #B798E2

Accessibility & contrast

On white

6.67
#7538C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7538C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538C7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538C7#FFFFFF#000000##FFFFFF
##7538C71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#605C7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7538c7;
/* rgb */ color: rgb(117, 56, 199);
/* oklch */ color: oklch(50.0% 0.208 297.8);
Tailwind
colors: {
  custom: {
    50: '#a474d9',
    500: '#7538c7',
    950: '#000000',
  },
}
SCSS
$custom: #7538c7;
$custom-light: #a474d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7538c7",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 265.594,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.20788,
    "h": 297.8
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#7538C7
secondary
#B2CD8D
accent
#DF489F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7538C7

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

Preview Lab → · Contrast checker → · Palette generator →

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