#7A5DF3#7A5DF3

#7A5DF3 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.214 H 286.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A5DF3
RGBrgb(122, 93, 243)
HSLhsl(252, 86%, 66%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(49.8%, 61.7%, 0%, 4.7%)
CIE-LABlab(50.02, 48.57, -71.66)
CIE-LCHlch(50.02, 86.56, 304.13°)
OKLaboklab(58.97% 0.0617 -0.2053)
OKLCHoklch(58.97% 0.214 286.7)
XYZxyz(28.1133, 18.4360, 86.8538)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5DF3 #D6F35D
analogous
#5D8BF3 #7A5DF3 #C55DF3
triadic
#7A5DF3 #F37A5D #5DF37A
tetradic
#7A5DF3 #F35D8B #D6F35D #5DF3C5
square
#7A5DF3 #F35D8B #D6F35D #5DF3C5
split-complementary
#7A5DF3 #F3C55D #8BF35D
monochromatic
#320FC7 #4B24EF #7A5DF3 #A996F7 #D8CFFB

Accessibility & contrast

On white

4.48
#7A5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7A5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5DF3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5DF3#FFFFFF#000000##000000
##7A5DF31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4E819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5df3;
/* rgb */ color: rgb(122, 93, 243);
/* oklch */ color: oklch(59.0% 0.214 286.7);
Tailwind
colors: {
  custom: {
    50: '#a98cf8',
    500: '#7a5df3',
    950: '#000000',
  },
}
SCSS
$custom: #7a5df3;
$custom-light: #a98cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5df3",
  "rgb": {
    "r": 122,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 251.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.21439,
    "h": 286.7
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#7A5DF3
secondary
#E5EFBD
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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