#7D5FDF#7D5FDF

#7D5FDF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.187 H 290.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D5FDF
RGBrgb(125, 95, 223)
HSLhsl(254, 67%, 62%)
HSVhsv(254, 57%, 87%)
CMYKcmyk(43.9%, 57.4%, 0%, 12.5%)
CIE-LABlab(49.34, 42.38, -61.49)
CIE-LCHlch(49.34, 74.68, 304.57°)
OKLaboklab(58.1% 0.0643 -0.1753)
OKLCHoklch(58.1% 0.187 290.1)
XYZxyz(25.8652, 17.8712, 71.8844)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FDF #C1DF5F
analogous
#5F81DF #7D5FDF #BD5FDF
triadic
#7D5FDF #DF7D5F #5FDF7D
tetradic
#7D5FDF #DF5F81 #C1DF5F #5FDFBD
square
#7D5FDF #DF5F81 #C1DF5F #5FDFBD
split-complementary
#7D5FDF #DFBD5F #81DF5F
monochromatic
#3F21A3 #542CD5 #7D5FDF #A692E9 #D0C5F3

Accessibility & contrast

On white

4.59
#7D5FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5FDF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FDF#FFFFFF#000000##FFFFFF
##7D5FDF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0278E3
Deuteranopia (green-blind)
#1172DC
Tritanopia (blue-blind)
#607B96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5fdf;
/* rgb */ color: rgb(125, 95, 223);
/* oklch */ color: oklch(58.1% 0.187 290.1);
Tailwind
colors: {
  custom: {
    50: '#a98dea',
    500: '#7d5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fdf;
$custom-light: #a98dea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fdf",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 254.063,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58099,
    "c": 0.18677,
    "h": 290.1
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#7D5FDF
secondary
#D9E4B6
accent
#CF17A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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