#7D5CEE#7D5CEE

#7D5CEE is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.209 H 288.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D5CEE
RGBrgb(125, 92, 238)
HSLhsl(254, 81%, 65%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(47.5%, 61.3%, 0%, 6.7%)
CIE-LABlab(49.72, 48.27, -69.33)
CIE-LCHlch(49.72, 84.48, 304.85°)
OKLaboklab(58.7% 0.067 -0.1984)
OKLCHoklch(58.7% 0.209 288.7)
XYZxyz(27.7128, 18.1862, 82.9224)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CEE #CDEE5C
analogous
#5C84EE #7D5CEE #C65CEE
triadic
#7D5CEE #EE7D5C #5CEE7D
tetradic
#7D5CEE #EE5C84 #CDEE5C #5CEEC6
square
#7D5CEE #EE5C84 #CDEE5C #5CEEC6
split-complementary
#7D5CEE #EEC65C #84EE5C
monochromatic
#3A14BC #5125E8 #7D5CEE #A993F4 #D5CBFA

Accessibility & contrast

On white

4.53
#7D5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CEE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CEE#FFFFFF#000000##000000
##7D5CEE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#577E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5cee;
/* rgb */ color: rgb(125, 92, 238);
/* oklch */ color: oklch(58.7% 0.209 288.7);
Tailwind
colors: {
  custom: {
    50: '#ab8cf4',
    500: '#7d5cee',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cee;
$custom-light: #ab8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cee",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 253.562,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.20938,
    "h": 288.7
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#7D5CEE
secondary
#E1ECBA
accent
#DD08AD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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