#7538B7#7538B7

#7538B7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.190 H 301.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7538B7
RGBrgb(117, 56, 183)
HSLhsl(269, 53%, 47%)
HSVhsv(269, 69%, 72%)
CMYKcmyk(36.1%, 69.4%, 0%, 28.2%)
CIE-LABlab(37.89, 51.03, -56.95)
CIE-LCHlch(37.89, 76.47, 311.86°)
OKLaboklab(48.71% 0.0999 -0.1622)
OKLCHoklch(48.71% 0.19 301.6)
XYZxyz(17.2955, 10.0291, 45.8152)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538B7 #7AB738
analogous
#383BB7 #7538B7 #B538B7
triadic
#7538B7 #B77538 #38B775
tetradic
#7538B7 #B7383B #7AB738 #38B7B5
square
#7538B7 #B7383B #7AB738 #38B7B5
split-complementary
#7538B7 #B7B538 #3BB738
monochromatic
#391B59 #572A88 #7538B7 #945ECE #B38DDC

Accessibility & contrast

On white

6.99
#7538B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7538B7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538B7#FFFFFF#000000##FFFFFF
##7538B71.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#675673
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7538b7;
/* rgb */ color: rgb(117, 56, 183);
/* oklch */ color: oklch(48.7% 0.190 301.6);
Tailwind
colors: {
  custom: {
    50: '#a273cd',
    500: '#7538b7',
    950: '#000000',
  },
}
SCSS
$custom: #7538b7;
$custom-light: #a273cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7538b7",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 268.819,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.19046,
    "h": 301.6
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7538B7

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

Preview Lab → · Contrast checker → · Palette generator →

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