#7A5CFA#7A5CFA

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

Color values

HEX#7A5CFA
RGBrgb(122, 92, 250)
HSLhsl(251, 94%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.2%, 63.2%, 0%, 2%)
CIE-LABlab(50.33, 51.12, -75.06)
CIE-LCHlch(50.33, 90.82, 304.26°)
OKLaboklab(59.35% 0.0621 -0.2153)
OKLCHoklch(59.35% 0.224 286.1)
XYZxyz(29.1034, 18.6925, 92.4984)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CFA #DCFA5C
analogous
#5C8DFA #7A5CFA #C95CFA
triadic
#7A5CFA #FA7A5C #5CFA7A
tetradic
#7A5CFA #FA5C8D #DCFA5C #5CFAC9
square
#7A5CFA #FA5C8D #DCFA5C #5CFAC9
split-complementary
#7A5CFA #FAC95C #8DFA5C
monochromatic
#2E07D5 #4A21F8 #7A5CFA #AA97FC #DBD3FE

Accessibility & contrast

On white

4.43
#7A5CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7A5CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5CFA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CFA#FFFFFF#000000##000000
##7A5CFA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073F7
Tritanopia (blue-blind)
#4883A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a5cfa;
/* rgb */ color: rgb(122, 92, 250);
/* oklch */ color: oklch(59.4% 0.224 286.1);
Tailwind
colors: {
  custom: {
    50: '#aa8cfd',
    500: '#7a5cfa',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cfa;
$custom-light: #aa8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cfa",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 251.392,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.22411,
    "h": 286.1
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#7A5CFA
secondary
#E8F2C0
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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