#7D5FEF#7D5FEF

#7D5FEF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.207 H 288.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D5FEF
RGBrgb(125, 95, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 60%, 94%)
CMYKcmyk(47.7%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.42, 46.88, -68.75)
CIE-LCHlch(50.42, 83.21, 304.29°)
OKLaboklab(59.24% 0.0638 -0.1967)
OKLCHoklch(59.24% 0.207 288)
XYZxyz(28.1251, 18.7752, 83.7867)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FEF #D1EF5F
analogous
#5F89EF #7D5FEF #C55FEF
triadic
#7D5FEF #EF7D5F #5FEF7D
tetradic
#7D5FEF #EF5F89 #D1EF5F #5FEFC5
square
#7D5FEF #EF5F89 #D1EF5F #5FEFC5
split-complementary
#7D5FEF #EFC55F #89EF5F
monochromatic
#3713C0 #5027E9 #7D5FEF #AA97F5 #D7CEFA

Accessibility & contrast

On white

4.42
#7D5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7D5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FEF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FEF#FFFFFF#000000##000000
##7D5FEF1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#57819E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5fef;
/* rgb */ color: rgb(125, 95, 239);
/* oklch */ color: oklch(59.2% 0.207 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab8ef5',
    500: '#7d5fef',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fef;
$custom-light: #ab8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fef",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 252.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.20677,
    "h": 288
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#7D5FEF
secondary
#E3EDBD
accent
#DE07B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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