#7D5FE8#7D5FE8

#7D5FE8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.198 H 288.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D5FE8
RGBrgb(125, 95, 232)
HSLhsl(253, 75%, 64%)
HSVhsv(253, 59%, 91%)
CMYKcmyk(46.1%, 59.1%, 0%, 9%)
CIE-LABlab(49.94, 44.90, -65.60)
CIE-LCHlch(49.94, 79.50, 304.39°)
OKLaboklab(58.73% 0.0641 -0.1874)
OKLCHoklch(58.73% 0.198 288.9)
XYZxyz(27.1110, 18.3695, 78.4455)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FE8 #CAE85F
analogous
#5F86E8 #7D5FE8 #C25FE8
triadic
#7D5FE8 #E87D5F #5FE87D
tetradic
#7D5FE8 #E85F86 #CAE85F #5FE8C2
square
#7D5FE8 #E85F86 #CAE85F #5FE8C2
split-complementary
#7D5FE8 #E8C25F #86E85F
monochromatic
#3B1AB3 #5229E0 #7D5FE8 #A895F0 #D4CAF7

Accessibility & contrast

On white

4.49
#7D5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7D5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FE8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FE8#FFFFFF#000000##000000
##7D5FE81.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#5B7E9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5fe8;
/* rgb */ color: rgb(125, 95, 232);
/* oklch */ color: oklch(58.7% 0.198 288.9);
Tailwind
colors: {
  custom: {
    50: '#aa8df0',
    500: '#7d5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fe8;
$custom-light: #aa8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fe8",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 253.139,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.19808,
    "h": 288.9
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#7D5FE8
secondary
#DFE9BA
accent
#D70EAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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