#7538B9#7538B9

#7538B9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.193 H 301.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7538B9
RGBrgb(117, 56, 185)
HSLhsl(268, 54%, 47%)
HSVhsv(268, 70%, 73%)
CMYKcmyk(36.8%, 69.7%, 0%, 27.5%)
CIE-LABlab(38.04, 51.53, -57.88)
CIE-LCHlch(38.04, 77.50, 311.67°)
OKLaboklab(48.87% 0.0996 -0.1649)
OKLCHoklch(48.87% 0.193 301.1)
XYZxyz(17.5051, 10.1129, 46.9193)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538B9 #7CB938
analogous
#383CB9 #7538B9 #B638B9
triadic
#7538B9 #B97538 #38B975
tetradic
#7538B9 #B9383C #7CB938 #38B9B6
square
#7538B9 #B9383C #7CB938 #38B9B6
split-complementary
#7538B9 #B9B638 #3CB938
monochromatic
#3A1C5B #572A8A #7538B9 #945FCF #B48EDD

Accessibility & contrast

On white

6.95
#7538B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7538B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538B9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538B9#FFFFFF#000000##FFFFFF
##7538B91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#665774
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7538b9;
/* rgb */ color: rgb(117, 56, 185);
/* oklch */ color: oklch(48.9% 0.193 301.1);
Tailwind
colors: {
  custom: {
    50: '#a273cf',
    500: '#7538b9',
    950: '#000000',
  },
}
SCSS
$custom: #7538b9;
$custom-light: #a273cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7538b9",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 268.372,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.19265,
    "h": 301.1
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#7538B9
secondary
#A8C885
accent
#DD4B98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7538B9

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

Preview Lab → · Contrast checker → · Palette generator →

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