#7A55C8#7A55C8

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

Color values

HEX#7A55C8
RGBrgb(122, 85, 200)
HSLhsl(259, 51%, 56%)
HSVhsv(259, 58%, 78%)
CMYKcmyk(39%, 57.5%, 0%, 21.6%)
CIE-LABlab(45.36, 41.08, -54.77)
CIE-LCHlch(45.36, 68.46, 306.87°)
OKLaboklab(54.63% 0.0723 -0.1557)
OKLCHoklch(54.63% 0.172 294.9)
XYZxyz(21.6971, 14.8042, 56.3467)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55C8 #A3C855
analogous
#5569C8 #7A55C8 #B355C8
triadic
#7A55C8 #C87A55 #55C87A
tetradic
#7A55C8 #C85569 #A3C855 #55C8B3
square
#7A55C8 #C85569 #A3C855 #55C8B3
split-complementary
#7A55C8 #C8B355 #69C855
monochromatic
#42287B #5C37A9 #7A55C8 #9E83D7 #C2B1E6

Accessibility & contrast

On white

5.30
#7A55C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7A55C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55C8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55C8#FFFFFF#000000##FFFFFF
##7A55C81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCC
Deuteranopia (green-blind)
#246AC5
Tritanopia (blue-blind)
#666E86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a55c8;
/* rgb */ color: rgb(122, 85, 200);
/* oklch */ color: oklch(54.6% 0.172 294.9);
Tailwind
colors: {
  custom: {
    50: '#a586d9',
    500: '#7a55c8',
    950: '#000000',
  },
}
SCSS
$custom: #7a55c8;
$custom-light: #a586d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55c8",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 259.304,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.17165,
    "h": 294.9
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#7A55C8
secondary
#C5D4A5
accent
#DB4DAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A55C8

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

Preview Lab → · Contrast checker → · Palette generator →

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