#7A56ED#7A56ED

#7A56ED is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.216 H 288.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A56ED
RGBrgb(122, 86, 237)
HSLhsl(254, 81%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(48.5%, 63.7%, 0%, 7.1%)
CIE-LABlab(48.14, 50.72, -71.35)
CIE-LCHlch(48.14, 87.54, 305.41°)
OKLaboklab(57.47% 0.0692 -0.2044)
OKLCHoklch(57.47% 0.216 288.7)
XYZxyz(26.6355, 16.9064, 81.9642)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A56ED #C9ED56
analogous
#567DED #7A56ED #C656ED
triadic
#7A56ED #ED7A56 #56ED7A
tetradic
#7A56ED #ED567D #C9ED56 #56EDC6
square
#7A56ED #ED567D #C9ED56 #56EDC6
split-complementary
#7A56ED #EDC656 #7DED56
monochromatic
#3A13B5 #4E1FE7 #7A56ED #A68DF3 #D1C5F9

Accessibility & contrast

On white

4.79
#7A56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7A56ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A56ED
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A56ED#FFFFFF#000000##FFFFFF
##7A56ED1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#537B9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a56ed;
/* rgb */ color: rgb(122, 86, 237);
/* oklch */ color: oklch(57.5% 0.216 288.7);
Tailwind
colors: {
  custom: {
    50: '#a988f4',
    500: '#7a56ed',
    950: '#000000',
  },
}
SCSS
$custom: #7a56ed;
$custom-light: #a988f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a56ed",
  "rgb": {
    "r": 122,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 254.305,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.21579,
    "h": 288.7
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#7A56ED
secondary
#DDEAB4
accent
#DD08AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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