#7D5CE8#7D5CE8

#7D5CE8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.202 H 289.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D5CE8
RGBrgb(125, 92, 232)
HSLhsl(254, 75%, 64%)
HSVhsv(254, 60%, 91%)
CMYKcmyk(46.1%, 60.3%, 0%, 9%)
CIE-LABlab(49.30, 46.59, -66.64)
CIE-LCHlch(49.30, 81.31, 304.96°)
OKLaboklab(58.26% 0.0673 -0.1905)
OKLCHoklch(58.26% 0.202 289.5)
XYZxyz(26.8459, 17.8394, 78.3571)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CE8 #C7E85C
analogous
#5C81E8 #7D5CE8 #C35CE8
triadic
#7D5CE8 #E87D5C #5CE87D
tetradic
#7D5CE8 #E85C81 #C7E85C #5CE8C3
square
#7D5CE8 #E85C81 #C7E85C #5CE8C3
split-complementary
#7D5CE8 #E8C35C #81E85C
monochromatic
#3D19B1 #5226E0 #7D5CE8 #A892F0 #D3C7F7

Accessibility & contrast

On white

4.60
#7D5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CE8#FFFFFF#000000##FFFFFF
##7D5CE81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#5B7C99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5ce8;
/* rgb */ color: rgb(125, 92, 232);
/* oklch */ color: oklch(58.3% 0.202 289.5);
Tailwind
colors: {
  custom: {
    50: '#aa8bf0',
    500: '#7d5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ce8;
$custom-light: #aa8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ce8",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 254.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.20202,
    "h": 289.5
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#7D5CE8
secondary
#DDE9B7
accent
#D70EA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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