#7538CD#7538CD

#7538CD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.214 H 296.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7538CD
RGBrgb(117, 56, 205)
HSLhsl(265, 60%, 51%)
HSVhsv(265, 73%, 80%)
CMYKcmyk(42.9%, 72.7%, 0%, 19.6%)
CIE-LABlab(39.61, 56.54, -67.02)
CIE-LCHlch(39.61, 87.68, 310.15°)
OKLaboklab(50.47% 0.0958 -0.1918)
OKLCHoklch(50.47% 0.214 296.5)
XYZxyz(19.7668, 11.0176, 58.8309)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7538CD #90CD38
analogous
#3845CD #7538CD #BF38CD
triadic
#7538CD #CD7538 #38CD75
tetradic
#7538CD #CD3845 #90CD38 #38CDBF
square
#7538CD #CD3845 #90CD38 #38CDBF
split-complementary
#7538CD #CDBF38 #45CD38
monochromatic
#3E1C6F #5928A0 #7538CD #9769D9 #B99AE6

Accessibility & contrast

On white

6.56
#7538CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7538CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7538CD#FFFFFF#000000##FFFFFF
##7538CD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#5E5E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7538cd;
/* rgb */ color: rgb(117, 56, 205);
/* oklch */ color: oklch(50.5% 0.214 296.5);
Tailwind
colors: {
  custom: {
    50: '#a474dd',
    500: '#7538cd',
    950: '#000000',
  },
}
SCSS
$custom: #7538cd;
$custom-light: #a474dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7538cd",
  "rgb": {
    "r": 117,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 264.564,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.21435,
    "h": 296.5
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#7538CD
secondary
#B6D18F
accent
#E345A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7538CD

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

Preview Lab → · Contrast checker → · Palette generator →

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