#7538B6#7538B6

#7538B6 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.189 H 301.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7538B6
RGBrgb(117, 56, 182)
HSLhsl(269, 53%, 47%)
HSVhsv(269, 69%, 71%)
CMYKcmyk(35.7%, 69.2%, 0%, 28.6%)
CIE-LABlab(37.82, 50.78, -56.48)
CIE-LCHlch(37.82, 75.95, 311.96°)
OKLaboklab(48.64% 0.1 -0.1608)
OKLCHoklch(48.64% 0.189 301.9)
XYZxyz(17.1918, 9.9876, 45.2690)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538B6 #79B638
analogous
#383AB6 #7538B6 #B438B6
triadic
#7538B6 #B67538 #38B675
tetradic
#7538B6 #B6383A #79B638 #38B6B4
square
#7538B6 #B6383A #79B638 #38B6B4
split-complementary
#7538B6 #B6B438 #3AB638
monochromatic
#391B58 #572A87 #7538B6 #945ECD #B38DDC

Accessibility & contrast

On white

7.01
#7538B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7538B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7538B6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538B6#FFFFFF#000000##FFFFFF
##7538B61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#675573
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7538b6;
/* rgb */ color: rgb(117, 56, 182);
/* oklch */ color: oklch(48.6% 0.189 301.9);
Tailwind
colors: {
  custom: {
    50: '#a273cd',
    500: '#7538b6',
    950: '#000000',
  },
}
SCSS
$custom: #7538b6;
$custom-light: #a273cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7538b6",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 269.048,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.18937,
    "h": 301.9
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#7538B6
secondary
#A6C684
accent
#DC4B96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7538B6

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

Preview Lab → · Contrast checker → · Palette generator →

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