#7A54EF#7A54EF

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

Color values

HEX#7A54EF
RGBrgb(122, 84, 239)
HSLhsl(255, 83%, 63%)
HSVhsv(255, 65%, 94%)
CMYKcmyk(49%, 64.9%, 0%, 6.3%)
CIE-LABlab(47.89, 52.36, -72.88)
CIE-LCHlch(47.89, 89.74, 305.70°)
OKLaboklab(57.33% 0.0709 -0.2089)
OKLCHoklch(57.33% 0.221 288.7)
XYZxyz(26.7718, 16.7091, 83.4592)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A54EF #C9EF54
analogous
#547BEF #7A54EF #C854EF
triadic
#7A54EF #EF7A54 #54EF7A
tetradic
#7A54EF #EF547B #C9EF54 #54EFC8
square
#7A54EF #EF547B #C9EF54 #54EFC8
split-complementary
#7A54EF #EFC854 #7BEF54
monochromatic
#3A11B7 #4E1CEA #7A54EF #A68CF4 #D1C4F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A54EF#FFFFFF#000000##FFFFFF
##7A54EF1.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)
#0075F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#517A9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a54ef;
/* rgb */ color: rgb(122, 84, 239);
/* oklch */ color: oklch(57.3% 0.221 288.7);
Tailwind
colors: {
  custom: {
    50: '#a986f5',
    500: '#7a54ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a54ef;
$custom-light: #a986f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a54ef",
  "rgb": {
    "r": 122,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 254.71,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.2206,
    "h": 288.7
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#7A54EF
secondary
#DDEBB4
accent
#DF06AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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