#7A55FA#7A55FA

#7A55FA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.232 H 287.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A55FA
RGBrgb(122, 85, 250)
HSLhsl(253, 94%, 66%)
HSVhsv(253, 66%, 98%)
CMYKcmyk(51.2%, 66%, 0%, 2%)
CIE-LABlab(48.93, 54.90, -77.34)
CIE-LCHlch(48.93, 94.85, 305.37°)
OKLaboklab(58.34% 0.0685 -0.222)
OKLCHoklch(58.34% 0.232 287.2)
XYZxyz(28.5248, 17.5353, 92.3056)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55FA #D5FA55
analogous
#5582FA #7A55FA #CD55FA
triadic
#7A55FA #FA7A55 #55FA7A
tetradic
#7A55FA #FA5582 #D5FA55 #55FACD
square
#7A55FA #FA5582 #D5FA55 #55FACD
split-complementary
#7A55FA #FACD55 #82FA55
monochromatic
#3306CF #4B1AF8 #7A55FA #A990FC #D7CCFD

Accessibility & contrast

On white

4.66
#7A55FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7A55FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55FA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55FA#FFFFFF#000000##FFFFFF
##7A55FA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#497EA1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a55fa;
/* rgb */ color: rgb(122, 85, 250);
/* oklch */ color: oklch(58.3% 0.232 287.2);
Tailwind
colors: {
  custom: {
    50: '#ab87fd',
    500: '#7a55fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a55fa;
$custom-light: #ab87fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55fa",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 250
  },
  "hsl": {
    "h": 253.455,
    "s": 94.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.23237,
    "h": 287.2
  },
  "luminance": 0.17537
}

Semantic roles & 50–950 ramp

primary
#7A55FA
secondary
#E5F1BA
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7A55FA

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

Preview Lab → · Contrast checker → · Palette generator →

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