#7A5CE9#7A5CE9

#7A5CE9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.1% C 0.203 H 288.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A5CE9
RGBrgb(122, 92, 233)
HSLhsl(253, 76%, 64%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.6%, 60.5%, 0%, 8.6%)
CIE-LABlab(49.10, 46.28, -67.54)
CIE-LCHlch(49.10, 81.88, 304.42°)
OKLaboklab(58.07% 0.0634 -0.1932)
OKLCHoklch(58.07% 0.203 288.2)
XYZxyz(26.5569, 17.6739, 79.0871)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CE9 #CBE95C
analogous
#5C84E9 #7A5CE9 #C05CE9
triadic
#7A5CE9 #E97A5C #5CE97A
tetradic
#7A5CE9 #E95C84 #CBE95C #5CE9C0
square
#7A5CE9 #E95C84 #CBE95C #5CE9C0
split-complementary
#7A5CE9 #E9C05C #84E95C
monochromatic
#3918B3 #4E26E2 #7A5CE9 #A692F0 #D2C8F8

Accessibility & contrast

On white

4.63
#7A5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7A5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CE9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CE9#FFFFFF#000000##FFFFFF
##7A5CE91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#557D9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a5ce9;
/* rgb */ color: rgb(122, 92, 233);
/* oklch */ color: oklch(58.1% 0.203 288.2);
Tailwind
colors: {
  custom: {
    50: '#a88bf1',
    500: '#7a5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ce9;
$custom-light: #a88bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ce9",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 252.766,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.20336,
    "h": 288.2
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

primary
#7A5CE9
secondary
#DFE9B8
accent
#D80DAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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