#7538B8#7538B8

#7538B8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.192 H 301.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7538B8
RGBrgb(117, 56, 184)
HSLhsl(269, 53%, 47%)
HSVhsv(269, 70%, 72%)
CMYKcmyk(36.4%, 69.6%, 0%, 27.8%)
CIE-LABlab(37.97, 51.28, -57.42)
CIE-LCHlch(37.97, 76.98, 311.77°)
OKLaboklab(48.79% 0.0997 -0.1635)
OKLCHoklch(48.79% 0.192 301.4)
XYZxyz(17.3999, 10.0709, 46.3653)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538B8 #7BB838
analogous
#383BB8 #7538B8 #B538B8
triadic
#7538B8 #B87538 #38B875
tetradic
#7538B8 #B8383B #7BB838 #38B8B5
square
#7538B8 #B8383B #7BB838 #38B8B5
split-complementary
#7538B8 #B8B538 #3BB838
monochromatic
#391B5A #572A89 #7538B8 #945FCE #B38EDD

Accessibility & contrast

On white

6.97
#7538B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7538B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538B8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538B8#FFFFFF#000000##FFFFFF
##7538B81.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#675674
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7538b8;
/* rgb */ color: rgb(117, 56, 184);
/* oklch */ color: oklch(48.8% 0.192 301.4);
Tailwind
colors: {
  custom: {
    50: '#a273ce',
    500: '#7538b8',
    950: '#000000',
  },
}
SCSS
$custom: #7538b8;
$custom-light: #a273ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7538b8",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 268.594,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.19155,
    "h": 301.4
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#7538B8
secondary
#A7C785
accent
#DD4B97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7538B8

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

Preview Lab → · Contrast checker → · Palette generator →

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