#7D5FE3#7D5FE3

#7D5FE3 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.192 H 289.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D5FE3
RGBrgb(125, 95, 227)
HSLhsl(254, 70%, 63%)
HSVhsv(254, 58%, 89%)
CMYKcmyk(44.9%, 58.1%, 0%, 11%)
CIE-LABlab(49.60, 43.50, -63.33)
CIE-LCHlch(49.60, 76.83, 304.48°)
OKLaboklab(58.38% 0.0643 -0.1807)
OKLCHoklch(58.38% 0.192 289.6)
XYZxyz(26.4109, 18.0895, 74.7582)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FE3 #C5E35F
analogous
#5F83E3 #7D5FE3 #BF5FE3
triadic
#7D5FE3 #E37D5F #5FE37D
tetradic
#7D5FE3 #E35F83 #C5E35F #5FE3BF
square
#7D5FE3 #E35F83 #C5E35F #5FE3BF
split-complementary
#7D5FE3 #E3BF5F #83E35F
monochromatic
#3E1EAA #532BDA #7D5FE3 #A793EC #D2C7F5

Accessibility & contrast

On white

4.55
#7D5FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7D5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FE3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FE3#FFFFFF#000000##000000
##7D5FE31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#5E7D98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5fe3;
/* rgb */ color: rgb(125, 95, 227);
/* oklch */ color: oklch(58.4% 0.192 289.6);
Tailwind
colors: {
  custom: {
    50: '#a98ded',
    500: '#7d5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5fe3;
$custom-light: #a98ded;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5fe3",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 253.636,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.19181,
    "h": 289.6
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#7D5FE3
secondary
#DCE7B7
accent
#D213A7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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