#7D5CCF#7D5CCF

#7D5CCF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.171 H 293.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D5CCF
RGBrgb(125, 92, 207)
HSLhsl(257, 55%, 59%)
HSVhsv(257, 56%, 81%)
CMYKcmyk(39.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(47.65, 39.67, -55.11)
CIE-LCHlch(47.65, 67.90, 305.75°)
OKLaboklab(56.52% 0.0678 -0.1566)
OKLCHoklch(56.52% 0.171 293.4)
XYZxyz(23.5441, 16.5187, 60.9673)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CCF #AECF5C
analogous
#5C74CF #7D5CCF #B65CCF
triadic
#7D5CCF #CF7D5C #5CCF7D
tetradic
#7D5CCF #CF5C74 #AECF5C #5CCFB6
square
#7D5CCF #CF5C74 #AECF5C #5CCFB6
split-complementary
#7D5CCF #CFB65C #74CF5C
monochromatic
#442888 #5B36B8 #7D5CCF #A38BDD #C8BBEB

Accessibility & contrast

On white

4.88
#7D5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CCF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CCF#FFFFFF#000000##FFFFFF
##7D5CCF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#68748D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d5ccf;
/* rgb */ color: rgb(125, 92, 207);
/* oklch */ color: oklch(56.5% 0.171 293.4);
Tailwind
colors: {
  custom: {
    50: '#a78bde',
    500: '#7d5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ccf;
$custom-light: #a78bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ccf",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 257.217,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.17061,
    "h": 293.4
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#7D5CCF
secondary
#CDDAAD
accent
#DE4AB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

#7D5CCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva