#7A55F8#7A55F8

#7A55F8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.230 H 287.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A55F8
RGBrgb(122, 85, 248)
HSLhsl(254, 92%, 65%)
HSVhsv(254, 66%, 97%)
CMYKcmyk(50.8%, 65.7%, 0%, 2.7%)
CIE-LABlab(48.77, 54.34, -76.48)
CIE-LCHlch(48.77, 93.82, 305.39°)
OKLaboklab(58.18% 0.0688 -0.2195)
OKLCHoklch(58.18% 0.23 287.4)
XYZxyz(28.2128, 17.4105, 90.6627)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55F8 #D3F855
analogous
#5581F8 #7A55F8 #CC55F8
triadic
#7A55F8 #F87A55 #55F87A
tetradic
#7A55F8 #F85581 #D3F855 #55F8CC
square
#7A55F8 #F85581 #D3F855 #55F8CC
split-complementary
#7A55F8 #F8CC55 #81F855
monochromatic
#3408CA #4C1AF6 #7A55F8 #A890FA #D6CBFD

Accessibility & contrast

On white

4.68
#7A55F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A55F8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55F8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55F8#FFFFFF#000000##FFFFFF
##7A55F81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FD
Deuteranopia (green-blind)
#006FF5
Tritanopia (blue-blind)
#4B7E9F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a55f8;
/* rgb */ color: rgb(122, 85, 248);
/* oklch */ color: oklch(58.2% 0.230 287.4);
Tailwind
colors: {
  custom: {
    50: '#aa87fc',
    500: '#7a55f8',
    950: '#000000',
  },
}
SCSS
$custom: #7a55f8;
$custom-light: #aa87fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55f8",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 253.62,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.23002,
    "h": 287.4
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#7A55F8
secondary
#E3F0B9
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7A55F8

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

Preview Lab → · Contrast checker → · Palette generator →

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