#7A5FFE#7A5FFE

#7A5FFE is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.225 H 285.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7A5FFE
RGBrgb(122, 95, 254)
HSLhsl(250, 99%, 68%)
HSVhsv(250, 63%, 100%)
CMYKcmyk(52%, 62.6%, 0%, 0.4%)
CIE-LABlab(51.24, 50.62, -75.80)
CIE-LCHlch(51.24, 91.14, 303.73°)
OKLaboklab(60.11% 0.0589 -0.2175)
OKLCHoklch(60.11% 0.225 285.2)
XYZxyz(30.0023, 19.4761, 95.9251)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FFE #E3FE5F
analogous
#5F93FE #7A5FFE #CA5FFE
triadic
#7A5FFE #FE7A5F #5FFE7A
tetradic
#7A5FFE #FE5F93 #E3FE5F #5FFECA
square
#7A5FFE #FE5F93 #E3FE5F #5FFECA
split-complementary
#7A5FFE #FECA5F #93FE5F
monochromatic
#2701E1 #4722FE #7A5FFE #AD9CFE #DFD9FF

Accessibility & contrast

On white

4.29
#7A5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7A5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FFE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FFE#FFFFFF#000000##000000
##7A5FFE1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#4486A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a5ffe;
/* rgb */ color: rgb(122, 95, 254);
/* oklch */ color: oklch(60.1% 0.225 285.2);
Tailwind
colors: {
  custom: {
    50: '#ab8eff',
    500: '#7a5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ffe;
$custom-light: #ab8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ffe",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 250.189,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.22533,
    "h": 285.2
  },
  "luminance": 0.19478
}

Semantic roles & 50–950 ramp

primary
#7A5FFE
secondary
#ECF4C4
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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