#7D5FEE#7D5FEE

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

Color values

HEX#7D5FEE
RGBrgb(125, 95, 238)
HSLhsl(253, 81%, 65%)
HSVhsv(253, 60%, 93%)
CMYKcmyk(47.5%, 60.1%, 0%, 6.7%)
CIE-LABlab(50.35, 46.60, -68.30)
CIE-LCHlch(50.35, 82.69, 304.30°)
OKLaboklab(59.16% 0.0639 -0.1954)
OKLCHoklch(59.16% 0.206 288.1)
XYZxyz(27.9778, 18.7162, 83.0108)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FEE #D0EE5F
analogous
#5F89EE #7D5FEE #C45FEE
triadic
#7D5FEE #EE7D5F #5FEE7D
tetradic
#7D5FEE #EE5F89 #D0EE5F #5FEEC4
square
#7D5FEE #EE5F89 #D0EE5F #5FEEC4
split-complementary
#7D5FEE #EEC45F #89EE5F
monochromatic
#3814BE #5028E8 #7D5FEE #AA96F4 #D7CEFA

Accessibility & contrast

On white

4.43
#7D5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7D5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FEE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FEE#FFFFFF#000000##000000
##7D5FEE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#57809E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d5fee;
/* rgb */ color: rgb(125, 95, 238);
/* oklch */ color: oklch(59.2% 0.206 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa8ef4',
    500: '#7d5fee',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fee;
$custom-light: #aa8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fee",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 252.587,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.20553,
    "h": 288.1
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#7D5FEE
secondary
#E2ECBC
accent
#DD08B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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