#7D5FEB#7D5FEB

#7D5FEB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.202 H 288.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7D5FEB
RGBrgb(125, 95, 235)
HSLhsl(253, 78%, 65%)
HSVhsv(253, 60%, 92%)
CMYKcmyk(46.8%, 59.6%, 0%, 7.8%)
CIE-LABlab(50.15, 45.75, -66.96)
CIE-LCHlch(50.15, 81.09, 304.34°)
OKLaboklab(58.95% 0.064 -0.1914)
OKLCHoklch(58.95% 0.202 288.5)
XYZxyz(27.5407, 18.5414, 80.7089)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FEB #CDEB5F
analogous
#5F87EB #7D5FEB #C35FEB
triadic
#7D5FEB #EB7D5F #5FEB7D
tetradic
#7D5FEB #EB5F87 #CDEB5F #5FEBC3
square
#7D5FEB #EB5F87 #CDEB5F #5FEBC3
split-complementary
#7D5FEB #EBC35F #87EB5F
monochromatic
#3A17B9 #5129E4 #7D5FEB #A995F2 #D5CCF9

Accessibility & contrast

On white

4.46
#7D5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7D5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FEB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FEB#FFFFFF#000000##000000
##7D5FEB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#597F9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5feb;
/* rgb */ color: rgb(125, 95, 235);
/* oklch */ color: oklch(58.9% 0.202 288.5);
Tailwind
colors: {
  custom: {
    50: '#aa8df2',
    500: '#7d5feb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5feb;
$custom-light: #aa8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5feb",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 252.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.20182,
    "h": 288.5
  },
  "luminance": 0.18543
}

Semantic roles & 50–950 ramp

primary
#7D5FEB
secondary
#E1EBBB
accent
#DA0BAE
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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