#7D5CF4#7D5CF4

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

Color values

HEX#7D5CF4
RGBrgb(125, 92, 244)
HSLhsl(253, 87%, 66%)
HSVhsv(253, 62%, 96%)
CMYKcmyk(48.8%, 62.3%, 0%, 4.3%)
CIE-LABlab(50.15, 49.96, -71.99)
CIE-LCHlch(50.15, 87.63, 304.76°)
OKLaboklab(59.15% 0.0665 -0.2062)
OKLCHoklch(59.15% 0.217 287.9)
XYZxyz(28.6090, 18.5446, 87.6424)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CF4 #D3F45C
analogous
#5C87F4 #7D5CF4 #C95CF4
triadic
#7D5CF4 #F47D5C #5CF47D
tetradic
#7D5CF4 #F45C87 #D3F45C #5CF4C9
square
#7D5CF4 #F45C87 #D3F45C #5CF4C9
split-complementary
#7D5CF4 #F4C95C #87F45C
monochromatic
#360EC8 #4F23F0 #7D5CF4 #AB95F8 #D8CFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5CF4#FFFFFF#000000##000000
##7D5CF41.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)
#007BF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#5380A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5cf4;
/* rgb */ color: rgb(125, 92, 244);
/* oklch */ color: oklch(59.2% 0.217 287.9);
Tailwind
colors: {
  custom: {
    50: '#ab8cf9',
    500: '#7d5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cf4;
$custom-light: #ab8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cf4",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 253.026,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.21667,
    "h": 287.9
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#7D5CF4
secondary
#E4EFBD
accent
#E402B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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