#7D5FEC#7D5FEC

#7D5FEC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.203 H 288.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D5FEC
RGBrgb(125, 95, 236)
HSLhsl(253, 79%, 65%)
HSVhsv(253, 60%, 93%)
CMYKcmyk(47%, 59.7%, 0%, 7.5%)
CIE-LABlab(50.22, 46.03, -67.41)
CIE-LCHlch(50.22, 81.62, 304.33°)
OKLaboklab(59.02% 0.064 -0.1927)
OKLCHoklch(59.02% 0.203 288.4)
XYZxyz(27.6856, 18.5994, 81.4719)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FEC #CEEC5F
analogous
#5F88EC #7D5FEC #C45FEC
triadic
#7D5FEC #EC7D5F #5FEC7D
tetradic
#7D5FEC #EC5F88 #CEEC5F #5FECC4
square
#7D5FEC #EC5F88 #CEEC5F #5FECC4
split-complementary
#7D5FEC #ECC45F #88EC5F
monochromatic
#3916BA #5128E6 #7D5FEC #A996F2 #D6CCF9

Accessibility & contrast

On white

4.45
#7D5FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D5FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FEC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FEC#FFFFFF#000000##000000
##7D5FEC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#59809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5fec;
/* rgb */ color: rgb(125, 95, 236);
/* oklch */ color: oklch(59.0% 0.203 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa8ef3',
    500: '#7d5fec',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fec;
$custom-light: #aa8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fec",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 252.766,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.20305,
    "h": 288.4
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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