#7538B5#7538B5

#7538B5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.188 H 302.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7538B5
RGBrgb(117, 56, 181)
HSLhsl(269, 53%, 46%)
HSVhsv(269, 69%, 71%)
CMYKcmyk(35.4%, 69.1%, 0%, 29%)
CIE-LABlab(37.75, 50.54, -56.01)
CIE-LCHlch(37.75, 75.44, 312.06°)
OKLaboklab(48.56% 0.1002 -0.1594)
OKLCHoklch(48.56% 0.188 302.1)
XYZxyz(17.0888, 9.9464, 44.7267)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538B5 #78B538
analogous
#383AB5 #7538B5 #B438B5
triadic
#7538B5 #B57538 #38B575
tetradic
#7538B5 #B5383A #78B538 #38B5B4
square
#7538B5 #B5383A #78B538 #38B5B4
split-complementary
#7538B5 #B5B438 #3AB538
monochromatic
#391B58 #572A86 #7538B5 #945DCD #B38CDB

Accessibility & contrast

On white

7.03
#7538B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7538B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7538B5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538B5#FFFFFF#000000##FFFFFF
##7538B51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#685572
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7538b5;
/* rgb */ color: rgb(117, 56, 181);
/* oklch */ color: oklch(48.6% 0.188 302.1);
Tailwind
colors: {
  custom: {
    50: '#a273cc',
    500: '#7538b5',
    950: '#000000',
  },
}
SCSS
$custom: #7538b5;
$custom-light: #a273cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7538b5",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 269.28,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.18827,
    "h": 302.1
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#7538B5
secondary
#A5C683
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7538B5

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

Preview Lab → · Contrast checker → · Palette generator →

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