#7A5CE8#7A5CE8

#7A5CE8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.0% C 0.202 H 288.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A5CE8
RGBrgb(122, 92, 232)
HSLhsl(253, 75%, 64%)
HSVhsv(253, 60%, 91%)
CMYKcmyk(47.4%, 60.3%, 0%, 9%)
CIE-LABlab(49.03, 46.00, -67.09)
CIE-LCHlch(49.03, 81.35, 304.43°)
OKLaboklab(58% 0.0635 -0.1919)
OKLCHoklch(58% 0.202 288.3)
XYZxyz(26.4145, 17.6170, 78.3369)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CE8 #CAE85C
analogous
#5C84E8 #7A5CE8 #C05CE8
triadic
#7A5CE8 #E87A5C #5CE87A
tetradic
#7A5CE8 #E85C84 #CAE85C #5CE8C0
square
#7A5CE8 #E85C84 #CAE85C #5CE8C0
split-complementary
#7A5CE8 #E8C05C #84E85C
monochromatic
#3919B1 #4E26E0 #7A5CE8 #A692F0 #D2C7F7

Accessibility & contrast

On white

4.64
#7A5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7A5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CE8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CE8#FFFFFF#000000##FFFFFF
##7A5CE81.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#557D99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a5ce8;
/* rgb */ color: rgb(122, 92, 232);
/* oklch */ color: oklch(58.0% 0.202 288.3);
Tailwind
colors: {
  custom: {
    50: '#a88bf0',
    500: '#7a5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ce8;
$custom-light: #a88bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ce8",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 252.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.20212,
    "h": 288.3
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#7A5CE8
secondary
#DEE9B7
accent
#D70EAC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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