#7A5EFC#7A5EFC

#7A5EFC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.224 H 285.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A5EFC
RGBrgb(122, 94, 252)
HSLhsl(251, 96%, 68%)
HSVhsv(251, 63%, 99%)
CMYKcmyk(51.6%, 62.7%, 0%, 1.2%)
CIE-LABlab(50.89, 50.59, -75.26)
CIE-LCHlch(50.89, 90.69, 303.91°)
OKLaboklab(59.8% 0.06 -0.2159)
OKLCHoklch(59.8% 0.224 285.5)
XYZxyz(29.5942, 19.1697, 94.2173)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EFC #E0FC5E
analogous
#5E91FC #7A5EFC #C95EFC
triadic
#7A5EFC #FC7A5E #5EFC7A
tetradic
#7A5EFC #FC5E91 #E0FC5E #5EFCC9
square
#7A5EFC #FC5E91 #E0FC5E #5EFCC9
split-complementary
#7A5EFC #FCC95E #91FC5E
monochromatic
#2A04DC #4822FB #7A5EFC #AC9AFD #DDD6FE

Accessibility & contrast

On white

4.34
#7A5EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7A5EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5EFC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EFC#FFFFFF#000000##000000
##7A5EFC1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0074F9
Tritanopia (blue-blind)
#4684A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a5efc;
/* rgb */ color: rgb(122, 94, 252);
/* oklch */ color: oklch(59.8% 0.224 285.5);
Tailwind
colors: {
  custom: {
    50: '#aa8dfe',
    500: '#7a5efc',
    950: '#000000',
  },
}
SCSS
$custom: #7a5efc;
$custom-light: #aa8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5efc",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 250.633,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.22411,
    "h": 285.5
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#7A5EFC
secondary
#EBF3C3
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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