#7D5FC0#7D5FC0

#7D5FC0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.1% C 0.147 H 295.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D5FC0
RGBrgb(125, 95, 192)
HSLhsl(259, 43%, 56%)
HSVhsv(259, 51%, 75%)
CMYKcmyk(34.9%, 50.5%, 0%, 24.7%)
CIE-LABlab(47.43, 33.88, -46.82)
CIE-LCHlch(47.43, 57.79, 305.89°)
OKLaboklab(56.07% 0.0632 -0.1322)
OKLCHoklch(56.07% 0.147 295.6)
XYZxyz(22.0617, 16.3498, 51.8524)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FC0 #A2C05F
analogous
#5F72C0 #7D5FC0 #AE5FC0
triadic
#7D5FC0 #C07D5F #5FC07D
tetradic
#7D5FC0 #C05F72 #A2C05F #5FC0AE
square
#7D5FC0 #C05F72 #A2C05F #5FC0AE
split-complementary
#7D5FC0 #C0AE5F #72C05F
monochromatic
#452F76 #5E40A2 #7D5FC0 #A18BD1 #C4B7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5FC0#FFFFFF#000000##FFFFFF
##7D5FC01.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)
#3B71C3
Deuteranopia (green-blind)
#416FBE
Tritanopia (blue-blind)
#6E7286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d5fc0;
/* rgb */ color: rgb(125, 95, 192);
/* oklch */ color: oklch(56.1% 0.147 295.6);
Tailwind
colors: {
  custom: {
    50: '#a68dd3',
    500: '#7d5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fc0;
$custom-light: #a68dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fc0",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 258.557,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.14659,
    "h": 295.6
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#7D5FC0
secondary
#C5D1A9
accent
#D355AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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