#7A55EB#7A55EB

#7A55EB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.215 H 289.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7A55EB
RGBrgb(122, 85, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 64%, 92%)
CMYKcmyk(48.1%, 63.8%, 0%, 7.8%)
CIE-LABlab(47.79, 50.71, -70.79)
CIE-LCHlch(47.79, 87.08, 305.62°)
OKLaboklab(57.17% 0.0703 -0.2028)
OKLCHoklch(57.17% 0.215 289.1)
XYZxyz(26.2656, 16.6316, 80.4074)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55EB #C6EB55
analogous
#557BEB #7A55EB #C555EB
triadic
#7A55EB #EB7A55 #55EB7A
tetradic
#7A55EB #EB557B #C6EB55 #55EBC5
square
#7A55EB #EB557B #C6EB55 #55EBC5
split-complementary
#7A55EB #EBC555 #7BEB55
monochromatic
#3B15B1 #4F1EE5 #7A55EB #A58CF1 #D0C3F8

Accessibility & contrast

On white

4.85
#7A55EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7A55EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55EB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55EB#FFFFFF#000000##FFFFFF
##7A55EB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#547998
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a55eb;
/* rgb */ color: rgb(122, 85, 235);
/* oklch */ color: oklch(57.2% 0.215 289.1);
Tailwind
colors: {
  custom: {
    50: '#a987f2',
    500: '#7a55eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a55eb;
$custom-light: #a987f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55eb",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 254.8,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.21462,
    "h": 289.1
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#7A55EB
secondary
#DCE9B3
accent
#DB0AA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A55EB

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

Preview Lab → · Contrast checker → · Palette generator →

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