#7D5EFC#7D5EFC

#7D5EFC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.224 H 286.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D5EFC
RGBrgb(125, 94, 252)
HSLhsl(252, 96%, 68%)
HSVhsv(252, 63%, 99%)
CMYKcmyk(50.4%, 62.7%, 0%, 1.2%)
CIE-LABlab(51.14, 51.12, -74.83)
CIE-LCHlch(51.14, 90.63, 304.34°)
OKLaboklab(60.05% 0.0639 -0.2146)
OKLCHoklch(60.05% 0.224 286.6)
XYZxyz(30.0256, 19.3922, 94.2375)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EFC #DDFC5E
analogous
#5E8EFC #7D5EFC #CC5EFC
triadic
#7D5EFC #FC7D5E #5EFC7D
tetradic
#7D5EFC #FC5E8E #DDFC5E #5EFCCC
square
#7D5EFC #FC5E8E #DDFC5E #5EFCCC
split-complementary
#7D5EFC #FCCC5E #8EFC5E
monochromatic
#2E04DC #4C22FB #7D5EFC #AE9AFD #DED6FE

Accessibility & contrast

On white

4.30
#7D5EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7D5EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EFC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EFC#FFFFFF#000000##000000
##7D5EFC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#4D84A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d5efc;
/* rgb */ color: rgb(125, 94, 252);
/* oklch */ color: oklch(60.1% 0.224 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac8dfe',
    500: '#7d5efc',
    950: '#000000',
  },
}
SCSS
$custom: #7d5efc;
$custom-light: #ac8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5efc",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 251.772,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.22387,
    "h": 286.6
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#7D5EFC
secondary
#EAF3C3
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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