#7A55C7#7A55C7

#7A55C7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.170 H 295.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A55C7
RGBrgb(122, 85, 199)
HSLhsl(259, 50%, 56%)
HSVhsv(259, 57%, 78%)
CMYKcmyk(38.7%, 57.3%, 0%, 22%)
CIE-LABlab(45.30, 40.81, -54.30)
CIE-LCHlch(45.30, 67.92, 306.93°)
OKLaboklab(54.56% 0.0723 -0.1543)
OKLCHoklch(54.56% 0.17 295.1)
XYZxyz(21.5807, 14.7577, 55.7333)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55C7 #A2C755
analogous
#5569C7 #7A55C7 #B355C7
triadic
#7A55C7 #C77A55 #55C77A
tetradic
#7A55C7 #C75569 #A2C755 #55C7B3
square
#7A55C7 #C75569 #A2C755 #55C7B3
split-complementary
#7A55C7 #C7B355 #69C755
monochromatic
#42287A #5C37A8 #7A55C7 #9E83D6 #C2B1E5

Accessibility & contrast

On white

5.31
#7A55C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A55C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55C7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55C7#FFFFFF#000000##FFFFFF
##7A55C71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#676D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a55c7;
/* rgb */ color: rgb(122, 85, 199);
/* oklch */ color: oklch(54.6% 0.170 295.1);
Tailwind
colors: {
  custom: {
    50: '#a586d9',
    500: '#7a55c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a55c7;
$custom-light: #a586d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55c7",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 259.474,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54561,
    "c": 0.17038,
    "h": 295.1
  },
  "luminance": 0.14758
}

Semantic roles & 50–950 ramp

primary
#7A55C7
secondary
#C4D4A4
accent
#DA4EAC
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A55C7

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

Preview Lab → · Contrast checker → · Palette generator →

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