#7D5CEB#7D5CEB

#7D5CEB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.206 H 289.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7D5CEB
RGBrgb(125, 92, 235)
HSLhsl(254, 78%, 64%)
HSVhsv(254, 61%, 92%)
CMYKcmyk(46.8%, 60.9%, 0%, 7.8%)
CIE-LABlab(49.51, 47.43, -67.99)
CIE-LCHlch(49.51, 82.90, 304.90°)
OKLaboklab(58.48% 0.0672 -0.1944)
OKLCHoklch(58.48% 0.206 289.1)
XYZxyz(27.2757, 18.0113, 80.6205)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CEB #CAEB5C
analogous
#5C83EB #7D5CEB #C55CEB
triadic
#7D5CEB #EB7D5C #5CEB7D
tetradic
#7D5CEB #EB5C83 #CAEB5C #5CEBC5
square
#7D5CEB #EB5C83 #CAEB5C #5CEBC5
split-complementary
#7D5CEB #EBC55C #83EB5C
monochromatic
#3B16B6 #5225E4 #7D5CEB #A893F2 #D4C9F8

Accessibility & contrast

On white

4.56
#7D5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7D5CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5CEB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CEB#FFFFFF#000000##000000
##7D5CEB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#597D9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5ceb;
/* rgb */ color: rgb(125, 92, 235);
/* oklch */ color: oklch(58.5% 0.206 289.1);
Tailwind
colors: {
  custom: {
    50: '#aa8cf2',
    500: '#7d5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ceb;
$custom-light: #aa8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ceb",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 253.846,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.20571,
    "h": 289.1
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#7D5CEB
secondary
#DFEAB8
accent
#DA0BAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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