#7A5FF4#7A5FF4

#7A5FF4 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.213 H 286.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A5FF4
RGBrgb(122, 95, 244)
HSLhsl(251, 87%, 66%)
HSVhsv(251, 61%, 96%)
CMYKcmyk(50%, 61.1%, 0%, 4.3%)
CIE-LABlab(50.51, 47.74, -71.41)
CIE-LCHlch(50.51, 85.90, 303.76°)
OKLaboklab(59.35% 0.0597 -0.2046)
OKLCHoklch(59.35% 0.213 286.3)
XYZxyz(28.4426, 18.8523, 87.7106)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FF4 #D9F45F
analogous
#5F8FF4 #7A5FF4 #C45FF4
triadic
#7A5FF4 #F47A5F #5FF47A
tetradic
#7A5FF4 #F45F8F #D9F45F #5FF4C4
square
#7A5FF4 #F45F8F #D9F45F #5FF4C4
split-complementary
#7A5FF4 #F4C45F #8FF45F
monochromatic
#300ECB #4A26F0 #7A5FF4 #AA98F8 #D9D2FC

Accessibility & contrast

On white

4.40
#7A5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7A5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FF4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FF4#FFFFFF#000000##000000
##7A5FF41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#4D82A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a5ff4;
/* rgb */ color: rgb(122, 95, 244);
/* oklch */ color: oklch(59.4% 0.213 286.3);
Tailwind
colors: {
  custom: {
    50: '#a98ef9',
    500: '#7a5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ff4;
$custom-light: #a98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ff4",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 250.872,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.21313,
    "h": 286.3
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#7A5FF4
secondary
#E7F0BF
accent
#E402BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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