#7D5CEC#7D5CEC

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

Color values

HEX#7D5CEC
RGBrgb(125, 92, 236)
HSLhsl(254, 79%, 64%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(47%, 61%, 0%, 7.5%)
CIE-LABlab(49.58, 47.71, -68.44)
CIE-LCHlch(49.58, 83.42, 304.88°)
OKLaboklab(58.56% 0.0671 -0.1958)
OKLCHoklch(58.56% 0.207 288.9)
XYZxyz(27.4206, 18.0693, 81.3835)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CEC #CBEC5C
analogous
#5C83EC #7D5CEC #C55CEC
triadic
#7D5CEC #EC7D5C #5CEC7D
tetradic
#7D5CEC #EC5C83 #CBEC5C #5CECC5
square
#7D5CEC #EC5C83 #CBEC5C #5CECC5
split-complementary
#7D5CEC #ECC55C #83EC5C
monochromatic
#3B15B8 #5125E6 #7D5CEC #A993F2 #D4CAF9

Accessibility & contrast

On white

4.55
#7D5CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7D5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CEC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CEC#FFFFFF#000000##000000
##7D5CEC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#597E9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5cec;
/* rgb */ color: rgb(125, 92, 236);
/* oklch */ color: oklch(58.6% 0.207 288.9);
Tailwind
colors: {
  custom: {
    50: '#aa8cf3',
    500: '#7d5cec',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cec;
$custom-light: #aa8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cec",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 253.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.20694,
    "h": 288.9
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#7D5CEC
secondary
#DFEBB9
accent
#DB0AAB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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