#7D5EDF#7D5EDF

#7D5EDF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.188 H 290.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D5EDF
RGBrgb(125, 94, 223)
HSLhsl(254, 67%, 62%)
HSVhsv(254, 58%, 87%)
CMYKcmyk(43.9%, 57.8%, 0%, 12.5%)
CIE-LABlab(49.12, 42.95, -61.85)
CIE-LCHlch(49.12, 75.30, 304.78°)
OKLaboklab(57.94% 0.0655 -0.1764)
OKLCHoklch(57.94% 0.188 290.4)
XYZxyz(25.7757, 17.6922, 71.8546)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EDF #C0DF5E
analogous
#5E7FDF #7D5EDF #BE5EDF
triadic
#7D5EDF #DF7D5E #5EDF7D
tetradic
#7D5EDF #DF5E7F #C0DF5E #5EDFBE
square
#7D5EDF #DF5E7F #C0DF5E #5EDFBE
split-complementary
#7D5EDF #DFBE5E #7FDF5E
monochromatic
#4020A2 #542BD5 #7D5EDF #A691E9 #CFC4F3

Accessibility & contrast

On white

4.63
#7D5EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7D5EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EDF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EDF#FFFFFF#000000##FFFFFF
##7D5EDF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0B72DC
Tritanopia (blue-blind)
#607B95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5edf;
/* rgb */ color: rgb(125, 94, 223);
/* oklch */ color: oklch(57.9% 0.188 290.4);
Tailwind
colors: {
  custom: {
    50: '#a98dea',
    500: '#7d5edf',
    950: '#000000',
  },
}
SCSS
$custom: #7d5edf;
$custom-light: #a98dea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5edf",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 254.419,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.18814,
    "h": 290.4
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#7D5EDF
secondary
#D9E4B5
accent
#CF17A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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