#7E5CF0#7E5CF0

#7E5CF0 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.212 H 288.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E5CF0
RGBrgb(126, 92, 240)
HSLhsl(254, 83%, 65%)
HSVhsv(254, 62%, 94%)
CMYKcmyk(47.5%, 61.7%, 0%, 5.9%)
CIE-LABlab(49.95, 49.02, -70.07)
CIE-LCHlch(49.95, 85.51, 304.98°)
OKLaboklab(58.94% 0.0681 -0.2005)
OKLCHoklch(58.94% 0.212 288.8)
XYZxyz(28.1550, 18.3800, 84.4854)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CF0 #CEF05C
analogous
#5C84F0 #7E5CF0 #C85CF0
triadic
#7E5CF0 #F07E5C #5CF07E
tetradic
#7E5CF0 #F05C84 #CEF05C #5CF0C8
square
#7E5CF0 #F05C84 #CEF05C #5CF0C8
split-complementary
#7E5CF0 #F0C85C #84F05C
monochromatic
#3A12C0 #5224EB #7E5CF0 #AA94F5 #D7CCFA

Accessibility & contrast

On white

4.49
#7E5CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5CF0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CF0#FFFFFF#000000##000000
##7E5CF01.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#587F9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5cf0;
/* rgb */ color: rgb(126, 92, 240);
/* oklch */ color: oklch(58.9% 0.212 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab8cf6',
    500: '#7e5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #7e5cf0;
$custom-light: #ab8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5cf0",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 253.784,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.21178,
    "h": 288.8
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#7E5CF0
secondary
#E1EDBB
accent
#E006AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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