#7A55F6#7A55F6

#7A55F6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.228 H 287.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A55F6
RGBrgb(122, 85, 246)
HSLhsl(254, 90%, 65%)
HSVhsv(254, 65%, 96%)
CMYKcmyk(50.4%, 65.4%, 0%, 3.5%)
CIE-LABlab(48.62, 53.78, -75.61)
CIE-LCHlch(48.62, 92.79, 305.42°)
OKLaboklab(58.02% 0.0691 -0.2169)
OKLCHoklch(58.02% 0.228 287.7)
XYZxyz(27.9042, 17.2871, 89.0373)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55F6 #D1F655
analogous
#5580F6 #7A55F6 #CB55F6
triadic
#7A55F6 #F67A55 #55F67A
tetradic
#7A55F6 #F65580 #D1F655 #55F6CB
square
#7A55F6 #F65580 #D1F655 #55F6CB
split-complementary
#7A55F6 #F6CB55 #80F655
monochromatic
#360AC6 #4D1BF3 #7A55F6 #A78FF9 #D5C9FC

Accessibility & contrast

On white

4.71
#7A55F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7A55F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55F6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55F6#FFFFFF#000000##FFFFFF
##7A55F61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#4C7D9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a55f6;
/* rgb */ color: rgb(122, 85, 246);
/* oklch */ color: oklch(58.0% 0.228 287.7);
Tailwind
colors: {
  custom: {
    50: '#aa87fa',
    500: '#7a55f6',
    950: '#000000',
  },
}
SCSS
$custom: #7a55f6;
$custom-light: #aa87fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55f6",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 246
  },
  "hsl": {
    "h": 253.789,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.22768,
    "h": 287.7
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#7A55F6
secondary
#E2EFB8
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A55F6

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

Preview Lab → · Contrast checker → · Palette generator →

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