#7A5DFC#7A5DFC

#7A5DFC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.225 H 285.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7A5DFC
RGBrgb(122, 93, 252)
HSLhsl(251, 96%, 68%)
HSVhsv(251, 63%, 99%)
CMYKcmyk(51.6%, 63.1%, 0%, 1.2%)
CIE-LABlab(50.68, 51.14, -75.60)
CIE-LCHlch(50.68, 91.27, 304.08°)
OKLaboklab(59.65% 0.061 -0.2169)
OKLCHoklch(59.65% 0.225 285.7)
XYZxyz(29.5058, 18.9930, 94.1879)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DFC #DFFC5D
analogous
#5D90FC #7A5DFC #C95DFC
triadic
#7A5DFC #FC7A5D #5DFC7A
tetradic
#7A5DFC #FC5D90 #DFFC5D #5DFCC9
square
#7A5DFC #FC5D90 #DFFC5D #5DFCC9
split-complementary
#7A5DFC #FCC95D #90FC5D
monochromatic
#2B04DB #4921FB #7A5DFC #AB99FD #DDD5FE

Accessibility & contrast

On white

4.38
#7A5DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7A5DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DFC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DFC#FFFFFF#000000##000000
##7A5DFC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a5dfc;
/* rgb */ color: rgb(122, 93, 252);
/* oklch */ color: oklch(59.7% 0.225 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa8cfe',
    500: '#7a5dfc',
    950: '#000000',
  },
}
SCSS
$custom: #7a5dfc;
$custom-light: #aa8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5dfc",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 250.943,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.22532,
    "h": 285.7
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#7A5DFC
secondary
#EAF3C2
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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