#7D5DF3#7D5DF3

#7D5DF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.214 H 287.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D5DF3
RGBrgb(125, 93, 243)
HSLhsl(253, 86%, 66%)
HSVhsv(253, 62%, 95%)
CMYKcmyk(48.6%, 61.7%, 0%, 4.7%)
CIE-LABlab(50.29, 49.12, -71.21)
CIE-LCHlch(50.29, 86.51, 304.60°)
OKLaboklab(59.23% 0.0656 -0.2039)
OKLCHoklch(59.23% 0.214 287.8)
XYZxyz(28.5448, 18.6585, 86.8740)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5DF3 #D3F35D
analogous
#5D88F3 #7D5DF3 #C85DF3
triadic
#7D5DF3 #F37D5D #5DF37D
tetradic
#7D5DF3 #F35D88 #D3F35D #5DF3C8
square
#7D5DF3 #F35D88 #D3F35D #5DF3C8
split-complementary
#7D5DF3 #F3C85D #88F35D
monochromatic
#360FC7 #4F24EF #7D5DF3 #AB96F7 #D8CFFB

Accessibility & contrast

On white

4.44
#7D5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7D5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5DF3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5DF3#FFFFFF#000000##000000
##7D5DF31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#54819F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5df3;
/* rgb */ color: rgb(125, 93, 243);
/* oklch */ color: oklch(59.2% 0.214 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab8cf8',
    500: '#7d5df3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5df3;
$custom-light: #ab8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5df3",
  "rgb": {
    "r": 125,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 252.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.21421,
    "h": 287.8
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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