#7D5FED#7D5FED

#7D5FED is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.204 H 288.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D5FED
RGBrgb(125, 95, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 60%, 93%)
CMYKcmyk(47.3%, 59.9%, 0%, 7.1%)
CIE-LABlab(50.28, 46.32, -67.86)
CIE-LCHlch(50.28, 82.16, 304.32°)
OKLaboklab(59.09% 0.0639 -0.194)
OKLCHoklch(59.09% 0.204 288.2)
XYZxyz(27.8313, 18.6576, 82.2392)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FED #CFED5F
analogous
#5F88ED #7D5FED #C45FED
triadic
#7D5FED #ED7D5F #5FED7D
tetradic
#7D5FED #ED5F88 #CFED5F #5FEDC4
square
#7D5FED #ED5F88 #CFED5F #5FEDC4
split-complementary
#7D5FED #EDC45F #88ED5F
monochromatic
#3915BC #5028E7 #7D5FED #AA96F3 #D6CDF9

Accessibility & contrast

On white

4.44
#7D5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7D5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FED
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FED#FFFFFF#000000##000000
##7D5FED1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#58809D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5fed;
/* rgb */ color: rgb(125, 95, 237);
/* oklch */ color: oklch(59.1% 0.204 288.2);
Tailwind
colors: {
  custom: {
    50: '#aa8ef4',
    500: '#7d5fed',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fed;
$custom-light: #aa8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fed",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 252.676,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.20429,
    "h": 288.2
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#7D5FED
secondary
#E2ECBC
accent
#DC09B0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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