#7D5BCF#7D5BCF

#7D5BCF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.172 H 293.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D5BCF
RGBrgb(125, 91, 207)
HSLhsl(258, 55%, 58%)
HSVhsv(258, 56%, 81%)
CMYKcmyk(39.6%, 56%, 0%, 18.8%)
CIE-LABlab(47.43, 40.24, -55.46)
CIE-LCHlch(47.43, 68.53, 305.96°)
OKLaboklab(56.36% 0.069 -0.1576)
OKLCHoklch(56.36% 0.172 293.6)
XYZxyz(23.4580, 16.3466, 60.9387)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BCF #ADCF5B
analogous
#5B73CF #7D5BCF #B75BCF
triadic
#7D5BCF #CF7D5B #5BCF7D
tetradic
#7D5BCF #CF5B73 #ADCF5B #5BCFB7
square
#7D5BCF #CF5B73 #ADCF5B #5BCFB7
split-complementary
#7D5BCF #CFB75B #73CF5B
monochromatic
#442888 #5C36B7 #7D5BCF #A38ADD #C8BAEB

Accessibility & contrast

On white

4.92
#7D5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7D5BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5BCF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BCF#FFFFFF#000000##FFFFFF
##7D5BCF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#68748C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5bcf;
/* rgb */ color: rgb(125, 91, 207);
/* oklch */ color: oklch(56.4% 0.172 293.6);
Tailwind
colors: {
  custom: {
    50: '#a78ade',
    500: '#7d5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bcf;
$custom-light: #a78ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bcf",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 257.586,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.17206,
    "h": 293.6
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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