#7D5FCF#7D5FCF

#7D5FCF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.166 H 292.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D5FCF
RGBrgb(125, 95, 207)
HSLhsl(256, 54%, 59%)
HSVhsv(256, 54%, 81%)
CMYKcmyk(39.6%, 54.1%, 0%, 18.8%)
CIE-LABlab(48.32, 37.94, -54.03)
CIE-LCHlch(48.32, 66.02, 305.08°)
OKLaboklab(57.02% 0.0642 -0.1534)
OKLCHoklch(57.02% 0.166 292.7)
XYZxyz(23.8091, 17.0488, 61.0557)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FCF #B1CF5F
analogous
#5F79CF #7D5FCF #B55FCF
triadic
#7D5FCF #CF7D5F #5FCF7D
tetradic
#7D5FCF #CF5F79 #B1CF5F #5FCFB5
square
#7D5FCF #CF5F79 #B1CF5F #5FCFB5
split-complementary
#7D5FCF #CFB55F #79CF5F
monochromatic
#43298A #5A38B9 #7D5FCF #A38EDD #CABDEB

Accessibility & contrast

On white

4.76
#7D5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7D5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5FCF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FCF#FFFFFF#000000##FFFFFF
##7D5FCF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#68768E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d5fcf;
/* rgb */ color: rgb(125, 95, 207);
/* oklch */ color: oklch(57.0% 0.166 292.7);
Tailwind
colors: {
  custom: {
    50: '#a78dde',
    500: '#7d5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fcf;
$custom-light: #a78dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fcf",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 256.071,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.16625,
    "h": 292.7
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#7D5FCF
secondary
#CFDBAF
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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