#7E5FEF#7E5FEF

#7E5FEF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.207 H 288.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E5FEF
RGBrgb(126, 95, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 60%, 94%)
CMYKcmyk(47.3%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.51, 47.08, -68.60)
CIE-LCHlch(50.51, 83.20, 304.46°)
OKLaboklab(59.32% 0.0651 -0.1962)
OKLCHoklch(59.32% 0.207 288.3)
XYZxyz(28.2719, 18.8508, 83.7935)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5FEF #D0EF5F
analogous
#5F88EF #7E5FEF #C65FEF
triadic
#7E5FEF #EF7E5F #5FEF7E
tetradic
#7E5FEF #EF5F88 #D0EF5F #5FEFC6
square
#7E5FEF #EF5F88 #D0EF5F #5FEFC6
split-complementary
#7E5FEF #EFC65F #88EF5F
monochromatic
#3913C0 #5127E9 #7E5FEF #AB97F5 #D8CEFA

Accessibility & contrast

On white

4.40
#7E5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7E5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5FEF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5FEF#FFFFFF#000000##000000
##7E5FEF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#59809E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e5fef;
/* rgb */ color: rgb(126, 95, 239);
/* oklch */ color: oklch(59.3% 0.207 288.3);
Tailwind
colors: {
  custom: {
    50: '#ab8ef5',
    500: '#7e5fef',
    950: '#000000',
  },
}
SCSS
$custom: #7e5fef;
$custom-light: #ab8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5fef",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 252.917,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.20672,
    "h": 288.3
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#7E5FEF
secondary
#E3EDBD
accent
#DE07B0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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