#7D5FC3#7D5FC3

#7D5FC3 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.151 H 294.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D5FC3
RGBrgb(125, 95, 195)
HSLhsl(258, 45%, 57%)
HSVhsv(258, 51%, 76%)
CMYKcmyk(35.9%, 51.3%, 0%, 23.5%)
CIE-LABlab(47.60, 34.68, -48.28)
CIE-LCHlch(47.60, 59.44, 305.69°)
OKLaboklab(56.26% 0.0635 -0.1365)
OKLCHoklch(56.26% 0.151 294.9)
XYZxyz(22.3975, 16.4841, 53.6209)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FC3 #A5C35F
analogous
#5F73C3 #7D5FC3 #AF5FC3
triadic
#7D5FC3 #C37D5F #5FC37D
tetradic
#7D5FC3 #C35F73 #A5C35F #5FC3AF
square
#7D5FC3 #C35F73 #A5C35F #5FC3AF
split-complementary
#7D5FC3 #C3AF5F #73C35F
monochromatic
#452E7A #5E3EA6 #7D5FC3 #A18CD4 #C5B8E4

Accessibility & contrast

On white

4.89
#7D5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D5FC3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FC3#FFFFFF#000000##FFFFFF
##7D5FC31.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3872C6
Deuteranopia (green-blind)
#3F6FC1
Tritanopia (blue-blind)
#6C7388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d5fc3;
/* rgb */ color: rgb(125, 95, 195);
/* oklch */ color: oklch(56.3% 0.151 294.9);
Tailwind
colors: {
  custom: {
    50: '#a68dd6',
    500: '#7d5fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fc3;
$custom-light: #a68dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fc3",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 258,
    "s": 45.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.15055,
    "h": 294.9
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#7D5FC3
secondary
#C7D3AB
accent
#D553AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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