#7A5CC2#7A5CC2

#7A5CC2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.154 H 294.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7A5CC2
RGBrgb(122, 92, 194)
HSLhsl(258, 46%, 56%)
HSVhsv(258, 53%, 76%)
CMYKcmyk(37.1%, 52.6%, 0%, 23.9%)
CIE-LABlab(46.56, 35.41, -49.38)
CIE-LCHlch(46.56, 60.77, 305.64°)
OKLaboklab(55.39% 0.0635 -0.1398)
OKLCHoklch(55.39% 0.154 294.4)
XYZxyz(21.5883, 15.6865, 52.9189)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CC2 #A4C25C
analogous
#5C71C2 #7A5CC2 #AD5CC2
triadic
#7A5CC2 #C27A5C #5CC27A
tetradic
#7A5CC2 #C25C71 #A4C25C #5CC2AD
square
#7A5CC2 #C25C71 #A4C25C #5CC2AD
split-complementary
#7A5CC2 #C2AD5C #71C25C
monochromatic
#422D77 #5B3DA4 #7A5CC2 #9E89D3 #C3B5E3

Accessibility & contrast

On white

5.08
#7A5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7A5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CC2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CC2#FFFFFF#000000##FFFFFF
##7A5CC21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326FC6
Deuteranopia (green-blind)
#396DC0
Tritanopia (blue-blind)
#687186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a5cc2;
/* rgb */ color: rgb(122, 92, 194);
/* oklch */ color: oklch(55.4% 0.154 294.4);
Tailwind
colors: {
  custom: {
    50: '#a48bd5',
    500: '#7a5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cc2;
$custom-light: #a48bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cc2",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 257.647,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.15357,
    "h": 294.4
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#7A5CC2
secondary
#C6D2A8
accent
#D553AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7A5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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