#7A55E4#7A55E4

#7A55E4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.6% C 0.206 H 290.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A55E4
RGBrgb(122, 85, 228)
HSLhsl(256, 73%, 61%)
HSVhsv(256, 63%, 89%)
CMYKcmyk(46.5%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.28, 48.76, -67.67)
CIE-LCHlch(47.28, 83.41, 305.78°)
OKLaboklab(56.64% 0.071 -0.1936)
OKLCHoklch(56.64% 0.206 290.1)
XYZxyz(25.2742, 16.2351, 75.1857)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55E4 #BFE455
analogous
#5578E4 #7A55E4 #C155E4
triadic
#7A55E4 #E47A55 #55E47A
tetradic
#7A55E4 #E45578 #BFE455 #55E4C1
square
#7A55E4 #E45578 #BFE455 #55E4C1
split-complementary
#7A55E4 #E4C155 #78E455
monochromatic
#3E1AA4 #5223D9 #7A55E4 #A38AEC #CDBFF5

Accessibility & contrast

On white

4.94
#7A55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55E4#FFFFFF#000000##FFFFFF
##7A55E41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#587795
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a55e4;
/* rgb */ color: rgb(122, 85, 228);
/* oklch */ color: oklch(56.6% 0.206 290.1);
Tailwind
colors: {
  custom: {
    50: '#a887ed',
    500: '#7a55e4',
    950: '#000000',
  },
}
SCSS
$custom: #7a55e4;
$custom-light: #a887ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55e4",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 255.524,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.20621,
    "h": 290.1
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#7A55E4
secondary
#D7E5B0
accent
#D511A2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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