#7E5FE5#7E5FE5

#7E5FE5 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.194 H 289.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E5FE5
RGBrgb(126, 95, 229)
HSLhsl(254, 72%, 64%)
HSVhsv(254, 59%, 90%)
CMYKcmyk(45%, 58.5%, 0%, 10.2%)
CIE-LABlab(49.83, 44.27, -64.09)
CIE-LCHlch(49.83, 77.89, 304.63°)
OKLaboklab(58.61% 0.0655 -0.1829)
OKLCHoklch(58.61% 0.194 289.7)
XYZxyz(26.8353, 18.2762, 76.2273)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5FE5 #C6E55F
analogous
#5F83E5 #7E5FE5 #C15FE5
triadic
#7E5FE5 #E57E5F #5FE57E
tetradic
#7E5FE5 #E55F83 #C6E55F #5FE5C1
square
#7E5FE5 #E55F83 #C6E55F #5FE5C1
split-complementary
#7E5FE5 #E5C15F #83E55F
monochromatic
#3E1CAD #542ADC #7E5FE5 #A894EE #D3C8F6

Accessibility & contrast

On white

4.51
#7E5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5FE5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5FE5#FFFFFF#000000##000000
##7E5FE51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#5E7D99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5fe5;
/* rgb */ color: rgb(126, 95, 229);
/* oklch */ color: oklch(58.6% 0.194 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa8dee',
    500: '#7e5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7e5fe5;
$custom-light: #aa8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5fe5",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 253.881,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58607,
    "c": 0.1943,
    "h": 289.7
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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