#7D5ECF#7D5ECF

#7D5ECF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.168 H 292.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7D5ECF
RGBrgb(125, 94, 207)
HSLhsl(256, 54%, 59%)
HSVhsv(256, 55%, 81%)
CMYKcmyk(39.6%, 54.6%, 0%, 18.8%)
CIE-LABlab(48.10, 38.52, -54.39)
CIE-LCHlch(48.10, 66.65, 305.31°)
OKLaboklab(56.85% 0.0654 -0.1544)
OKLCHoklch(56.85% 0.168 292.9)
XYZxyz(23.7196, 16.8698, 61.0259)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5ECF #B0CF5E
analogous
#5E78CF #7D5ECF #B65ECF
triadic
#7D5ECF #CF7D5E #5ECF7D
tetradic
#7D5ECF #CF5E78 #B0CF5E #5ECFB6
square
#7D5ECF #CF5E78 #B0CF5E #5ECFB6
split-complementary
#7D5ECF #CFB65E #78CF5E
monochromatic
#44298A #5B37B9 #7D5ECF #A38DDD #C9BCEB

Accessibility & contrast

On white

4.80
#7D5ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7D5ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5ECF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5ECF#FFFFFF#000000##FFFFFF
##7D5ECF1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#3070CC
Tritanopia (blue-blind)
#68768D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d5ecf;
/* rgb */ color: rgb(125, 94, 207);
/* oklch */ color: oklch(56.9% 0.168 292.9);
Tailwind
colors: {
  custom: {
    50: '#a78cde',
    500: '#7d5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ecf;
$custom-light: #a78cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ecf",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 256.46,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.16771,
    "h": 292.9
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#7D5ECF
secondary
#CEDBAE
accent
#DD4AB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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