#7A55EA#7A55EA

#7A55EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.213 H 289.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7A55EA
RGBrgb(122, 85, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 64%, 92%)
CMYKcmyk(47.9%, 63.7%, 0%, 8.2%)
CIE-LABlab(47.72, 50.43, -70.35)
CIE-LCHlch(47.72, 86.56, 305.64°)
OKLaboklab(57.09% 0.0704 -0.2015)
OKLCHoklch(57.09% 0.213 289.3)
XYZxyz(26.1216, 16.5740, 79.6487)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55EA #C5EA55
analogous
#557BEA #7A55EA #C455EA
triadic
#7A55EA #EA7A55 #55EA7A
tetradic
#7A55EA #EA557B #C5EA55 #55EAC4
square
#7A55EA #EA557B #C5EA55 #55EAC4
split-complementary
#7A55EA #EAC455 #7BEA55
monochromatic
#3C16AF #4F1FE3 #7A55EA #A58BF1 #CFC2F7

Accessibility & contrast

On white

4.87
#7A55EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7A55EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55EA#FFFFFF#000000##FFFFFF
##7A55EA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#557998
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a55ea;
/* rgb */ color: rgb(122, 85, 234);
/* oklch */ color: oklch(57.1% 0.213 289.3);
Tailwind
colors: {
  custom: {
    50: '#a987f2',
    500: '#7a55ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a55ea;
$custom-light: #a987f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55ea",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 254.899,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.21343,
    "h": 289.3
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#7A55EA
secondary
#DBE8B2
accent
#DA0BA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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