#7E5FE6#7E5FE6

#7E5FE6 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.196 H 289.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E5FE6
RGBrgb(126, 95, 230)
HSLhsl(254, 73%, 64%)
HSVhsv(254, 59%, 90%)
CMYKcmyk(45.2%, 58.7%, 0%, 9.8%)
CIE-LABlab(49.90, 44.55, -64.54)
CIE-LCHlch(49.90, 78.42, 304.61°)
OKLaboklab(58.68% 0.0655 -0.1843)
OKLCHoklch(58.68% 0.196 289.6)
XYZxyz(26.9753, 18.3322, 76.9647)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5FE6 #C7E65F
analogous
#5F83E6 #7E5FE6 #C15FE6
triadic
#7E5FE6 #E67E5F #5FE67E
tetradic
#7E5FE6 #E65F83 #C7E65F #5FE6C1
square
#7E5FE6 #E65F83 #C7E65F #5FE6C1
split-complementary
#7E5FE6 #E6C15F #83E65F
monochromatic
#3D1BAF #532ADE #7E5FE6 #A994EE #D3C9F7

Accessibility & contrast

On white

4.50
#7E5FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7E5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5FE6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5FE6#FFFFFF#000000##000000
##7E5FE61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#5E7E99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5fe6;
/* rgb */ color: rgb(126, 95, 230);
/* oklch */ color: oklch(58.7% 0.196 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa8def',
    500: '#7e5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #7e5fe6;
$custom-light: #aa8def;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5fe6",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 253.778,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.19555,
    "h": 289.6
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#7E5FE6
secondary
#DDE8B9
accent
#D510A8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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