#7A55EC#7A55EC

#7A55EC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.216 H 289.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A55EC
RGBrgb(122, 85, 236)
HSLhsl(255, 80%, 63%)
HSVhsv(255, 64%, 93%)
CMYKcmyk(48.3%, 64%, 0%, 7.5%)
CIE-LABlab(47.87, 50.99, -71.23)
CIE-LCHlch(47.87, 87.60, 305.60°)
OKLaboklab(57.24% 0.0702 -0.2041)
OKLCHoklch(57.24% 0.216 289)
XYZxyz(26.4105, 16.6896, 81.1704)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55EC #C7EC55
analogous
#557BEC #7A55EC #C555EC
triadic
#7A55EC #EC7A55 #55EC7A
tetradic
#7A55EC #EC557B #C7EC55 #55ECC5
square
#7A55EC #EC557B #C7EC55 #55ECC5
split-complementary
#7A55EC #ECC555 #7BEC55
monochromatic
#3B14B3 #4F1EE6 #7A55EC #A58CF2 #D0C3F8

Accessibility & contrast

On white

4.84
#7A55EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7A55EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55EC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55EC#FFFFFF#000000##FFFFFF
##7A55EC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#537A99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a55ec;
/* rgb */ color: rgb(122, 85, 236);
/* oklch */ color: oklch(57.2% 0.216 289.0);
Tailwind
colors: {
  custom: {
    50: '#a987f3',
    500: '#7a55ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a55ec;
$custom-light: #a987f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55ec",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 254.702,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.21582,
    "h": 289
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#7A55EC
secondary
#DCEAB3
accent
#DC09A9
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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