#7D5EE3#7D5EE3

#7D5EE3 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.193 H 289.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7D5EE3
RGBrgb(125, 94, 227)
HSLhsl(254, 70%, 63%)
HSVhsv(254, 59%, 89%)
CMYKcmyk(44.9%, 58.6%, 0%, 11%)
CIE-LABlab(49.39, 44.06, -63.68)
CIE-LCHlch(49.39, 77.44, 304.68°)
OKLaboklab(58.22% 0.0654 -0.1818)
OKLCHoklch(58.22% 0.193 289.8)
XYZxyz(26.3214, 17.9105, 74.7284)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EE3 #C4E35E
analogous
#5E81E3 #7D5EE3 #BF5EE3
triadic
#7D5EE3 #E37D5E #5EE37D
tetradic
#7D5EE3 #E35E81 #C4E35E #5EE3BF
square
#7D5EE3 #E35E81 #C4E35E #5EE3BF
split-complementary
#7D5EE3 #E3BF5E #81E35E
monochromatic
#3E1DA9 #532ADA #7D5EE3 #A792EC #D1C6F5

Accessibility & contrast

On white

4.58
#7D5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7D5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5EE3
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EE3#FFFFFF#000000##000000
##7D5EE31.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#5E7C98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d5ee3;
/* rgb */ color: rgb(125, 94, 227);
/* oklch */ color: oklch(58.2% 0.193 289.8);
Tailwind
colors: {
  custom: {
    50: '#a98ded',
    500: '#7d5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ee3;
$custom-light: #a98ded;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ee3",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 253.985,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.19316,
    "h": 289.8
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#7D5EE3
secondary
#DBE6B6
accent
#D213A6
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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