#7538AA#7538AA

#7538AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.176 H 305.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7538AA
RGBrgb(117, 56, 170)
HSLhsl(272, 50%, 44%)
HSVhsv(272, 67%, 67%)
CMYKcmyk(31.2%, 67.1%, 0%, 33.3%)
CIE-LABlab(36.95, 47.86, -50.76)
CIE-LCHlch(36.95, 69.76, 313.32°)
OKLaboklab(47.74% 0.1015 -0.144)
OKLCHoklch(47.74% 0.176 305.2)
XYZxyz(16.0044, 9.5126, 39.0154)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538AA #6DAA38
analogous
#3C38AA #7538AA #AA38A6
triadic
#7538AA #AA7538 #38AA75
tetradic
#7538AA #AA3C38 #6DAA38 #38A6AA
square
#7538AA #AA3C38 #6DAA38 #38A6AA
split-complementary
#7538AA #A6AA38 #38AA3C
monochromatic
#361A4E #55297C #7538AA #9457C8 #B185D7

Accessibility & contrast

On white

7.23
#7538AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7538AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7538AA#FFFFFF#000000##FFFFFF
##7538AA1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1557A8
Tritanopia (blue-blind)
#6B516C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7538aa;
/* rgb */ color: rgb(117, 56, 170);
/* oklch */ color: oklch(47.7% 0.176 305.2);
Tailwind
colors: {
  custom: {
    50: '#a173c4',
    500: '#7538aa',
    950: '#000000',
  },
}
SCSS
$custom: #7538aa;
$custom-light: #a173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7538aa",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 272.105,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.17618,
    "h": 305.2
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#7538AA
secondary
#9DC17D
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7538AA

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

Preview Lab → · Contrast checker → · Palette generator →

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