#7A5FF5#7A5FF5

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

Color values

HEX#7A5FF5
RGBrgb(122, 95, 245)
HSLhsl(251, 88%, 67%)
HSVhsv(251, 61%, 96%)
CMYKcmyk(50.2%, 61.2%, 0%, 3.9%)
CIE-LABlab(50.59, 48.03, -71.85)
CIE-LCHlch(50.59, 86.43, 303.76°)
OKLaboklab(59.43% 0.0596 -0.2059)
OKLCHoklch(59.43% 0.214 286.1)
XYZxyz(28.5948, 18.9132, 88.5124)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FF5 #DAF55F
analogous
#5F8FF5 #7A5FF5 #C55FF5
triadic
#7A5FF5 #F57A5F #5FF57A
tetradic
#7A5FF5 #F55F8F #DAF55F #5FF5C5
square
#7A5FF5 #F55F8F #DAF55F #5FF5C5
split-complementary
#7A5FF5 #F5C55F #8FF55F
monochromatic
#2F0DCD #4A25F1 #7A5FF5 #AA99F9 #DAD2FC

Accessibility & contrast

On white

4.39
#7A5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7A5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FF5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FF5#FFFFFF#000000##000000
##7A5FF51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#4C83A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a5ff5;
/* rgb */ color: rgb(122, 95, 245);
/* oklch */ color: oklch(59.4% 0.214 286.1);
Tailwind
colors: {
  custom: {
    50: '#a98ef9',
    500: '#7a5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ff5;
$custom-light: #a98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ff5",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 250.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.21436,
    "h": 286.1
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#7A5FF5
secondary
#E7F0C0
accent
#E501BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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