#7A54EA#7A54EA

#7A54EA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.215 H 289.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7A54EA
RGBrgb(122, 84, 234)
HSLhsl(255, 78%, 62%)
HSVhsv(255, 64%, 92%)
CMYKcmyk(47.9%, 64.1%, 0%, 8.2%)
CIE-LABlab(47.52, 50.97, -70.67)
CIE-LCHlch(47.52, 87.14, 305.80°)
OKLaboklab(56.95% 0.0714 -0.2024)
OKLCHoklch(56.95% 0.215 289.4)
XYZxyz(26.0434, 16.4177, 79.6226)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A54EA #C4EA54
analogous
#5479EA #7A54EA #C554EA
triadic
#7A54EA #EA7A54 #54EA7A
tetradic
#7A54EA #EA5479 #C4EA54 #54EAC5
square
#7A54EA #EA5479 #C4EA54 #54EAC5
split-complementary
#7A54EA #EAC554 #79EA54
monochromatic
#3C15AE #501DE3 #7A54EA #A48BF1 #CFC1F7

Accessibility & contrast

On white

4.90
#7A54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7A54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A54EA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A54EA#FFFFFF#000000##FFFFFF
##7A54EA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#557898
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a54ea;
/* rgb */ color: rgb(122, 84, 234);
/* oklch */ color: oklch(56.9% 0.215 289.4);
Tailwind
colors: {
  custom: {
    50: '#a986f2',
    500: '#7a54ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a54ea;
$custom-light: #a986f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a54ea",
  "rgb": {
    "r": 122,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 255.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.21466,
    "h": 289.4
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#7A54EA
secondary
#DAE8B2
accent
#DA0BA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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