#7538B0#7538B0

#7538B0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.183 H 303.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7538B0
RGBrgb(117, 56, 176)
HSLhsl(271, 52%, 45%)
HSVhsv(271, 68%, 69%)
CMYKcmyk(33.5%, 68.2%, 0%, 31%)
CIE-LABlab(37.38, 49.31, -53.64)
CIE-LCHlch(37.38, 72.86, 312.59°)
OKLaboklab(48.19% 0.1009 -0.1524)
OKLCHoklch(48.19% 0.183 303.5)
XYZxyz(16.5850, 9.7449, 42.0731)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538B0 #73B038
analogous
#3938B0 #7538B0 #B038AF
triadic
#7538B0 #B07538 #38B075
tetradic
#7538B0 #B03938 #73B038 #38AFB0
square
#7538B0 #B03938 #73B038 #38AFB0
split-complementary
#7538B0 #AFB038 #38B039
monochromatic
#371A53 #562982 #7538B0 #945BCB #B289D9

Accessibility & contrast

On white

7.12
#7538B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7538B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7538B0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7538B0#FFFFFF#000000##FFFFFF
##7538B01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#0158AD
Tritanopia (blue-blind)
#69536F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7538b0;
/* rgb */ color: rgb(117, 56, 176);
/* oklch */ color: oklch(48.2% 0.183 303.5);
Tailwind
colors: {
  custom: {
    50: '#a173c8',
    500: '#7538b0',
    950: '#000000',
  },
}
SCSS
$custom: #7538b0;
$custom-light: #a173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7538b0",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 270.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.18278,
    "h": 303.5
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#7538B0
secondary
#A1C480
accent
#DB4D93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7538B0

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

Preview Lab → · Contrast checker → · Palette generator →

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