#7D5CED#7D5CED

#7D5CED is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.208 H 288.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D5CED
RGBrgb(125, 92, 237)
HSLhsl(254, 80%, 65%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(47.3%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.65, 47.99, -68.88)
CIE-LCHlch(49.65, 83.95, 304.86°)
OKLaboklab(58.63% 0.067 -0.1971)
OKLCHoklch(58.63% 0.208 288.8)
XYZxyz(27.5663, 18.1276, 82.1508)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CED #CCED5C
analogous
#5C84ED #7D5CED #C55CED
triadic
#7D5CED #ED7D5C #5CED7D
tetradic
#7D5CED #ED5C84 #CCED5C #5CEDC5
square
#7D5CED #ED5C84 #CCED5C #5CEDC5
split-complementary
#7D5CED #EDC55C #84ED5C
monochromatic
#3A15BA #5125E7 #7D5CED #A993F3 #D5CAF9

Accessibility & contrast

On white

4.54
#7D5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CED#FFFFFF#000000##000000
##7D5CED1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#587E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5ced;
/* rgb */ color: rgb(125, 92, 237);
/* oklch */ color: oklch(58.6% 0.208 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa8cf4',
    500: '#7d5ced',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ced;
$custom-light: #aa8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ced",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 253.655,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58629,
    "c": 0.20815,
    "h": 288.8
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#7D5CED
secondary
#E0EBB9
accent
#DC09AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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