#7E5CF2#7E5CF2

#7E5CF2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.214 H 288.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E5CF2
RGBrgb(126, 92, 242)
HSLhsl(254, 85%, 65%)
HSVhsv(254, 62%, 95%)
CMYKcmyk(47.9%, 62%, 0%, 5.1%)
CIE-LABlab(50.10, 49.58, -70.96)
CIE-LCHlch(50.10, 86.56, 304.94°)
OKLaboklab(59.09% 0.068 -0.2031)
OKLCHoklch(59.09% 0.214 288.5)
XYZxyz(28.4537, 18.4995, 86.0587)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CF2 #D0F25C
analogous
#5C85F2 #7E5CF2 #C95CF2
triadic
#7E5CF2 #F27E5C #5CF27E
tetradic
#7E5CF2 #F25C85 #D0F25C #5CF2C9
square
#7E5CF2 #F25C85 #D0F25C #5CF2C9
split-complementary
#7E5CF2 #F2C95C #85F25C
monochromatic
#3910C4 #5123ED #7E5CF2 #AB95F7 #D8CDFB

Accessibility & contrast

On white

4.47
#7E5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7E5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5CF2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CF2#FFFFFF#000000##000000
##7E5CF21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#57809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5cf2;
/* rgb */ color: rgb(126, 92, 242);
/* oklch */ color: oklch(59.1% 0.214 288.5);
Tailwind
colors: {
  custom: {
    50: '#ac8cf7',
    500: '#7e5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7e5cf2;
$custom-light: #ac8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5cf2",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 253.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.2142,
    "h": 288.5
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#7E5CF2
secondary
#E3EEBC
accent
#E204AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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