#7D5EE6#7D5EE6

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

Color values

HEX#7D5EE6
RGBrgb(125, 94, 230)
HSLhsl(254, 73%, 64%)
HSVhsv(254, 59%, 90%)
CMYKcmyk(45.7%, 59.1%, 0%, 9.8%)
CIE-LABlab(49.59, 44.91, -65.04)
CIE-LCHlch(49.59, 79.04, 304.62°)
OKLaboklab(58.43% 0.0653 -0.1858)
OKLCHoklch(58.43% 0.197 289.4)
XYZxyz(26.7390, 18.0775, 76.9280)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EE6 #C7E65E
analogous
#5E83E6 #7D5EE6 #C15EE6
triadic
#7D5EE6 #E67D5E #5EE67D
tetradic
#7D5EE6 #E65E83 #C7E65E #5EE6C1
square
#7D5EE6 #E65E83 #C7E65E #5EE6C1
split-complementary
#7D5EE6 #E6C15E #83E65E
monochromatic
#3D1BAF #5229DE #7D5EE6 #A893EE #D3C8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5EE6#FFFFFF#000000##000000
##7D5EE61.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)
#0079EA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#5C7D99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5ee6;
/* rgb */ color: rgb(125, 94, 230);
/* oklch */ color: oklch(58.4% 0.197 289.4);
Tailwind
colors: {
  custom: {
    50: '#aa8def',
    500: '#7d5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ee6;
$custom-light: #aa8def;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ee6",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 253.676,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.19691,
    "h": 289.4
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#7D5EE6
secondary
#DDE8B8
accent
#D510A8
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7D5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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