#7A5DFD#7A5DFD

#7A5DFD is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.227 H 285.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7A5DFD
RGBrgb(122, 93, 253)
HSLhsl(251, 98%, 68%)
HSVhsv(251, 63%, 99%)
CMYKcmyk(51.8%, 63.2%, 0%, 0.8%)
CIE-LABlab(50.75, 51.43, -76.03)
CIE-LCHlch(50.75, 91.79, 304.07°)
OKLaboklab(59.73% 0.0609 -0.2182)
OKLCHoklch(59.73% 0.227 285.6)
XYZxyz(29.6647, 19.0566, 95.0246)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DFD #E0FD5D
analogous
#5D90FD #7A5DFD #CA5DFD
triadic
#7A5DFD #FD7A5D #5DFD7A
tetradic
#7A5DFD #FD5D90 #E0FD5D #5DFDCA
square
#7A5DFD #FD5D90 #E0FD5D #5DFDCA
split-complementary
#7A5DFD #FDCA5D #90FD5D
monochromatic
#2A03DD #4821FC #7A5DFD #AC99FE #DDD6FE

Accessibility & contrast

On white

4.36
#7A5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7A5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DFD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DFD#FFFFFF#000000##000000
##7A5DFD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4584A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a5dfd;
/* rgb */ color: rgb(122, 93, 253);
/* oklch */ color: oklch(59.7% 0.227 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab8cff',
    500: '#7a5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7a5dfd;
$custom-light: #ab8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5dfd",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 250.875,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.22652,
    "h": 285.6
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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