#7A54DF#7A54DF

#7A54DF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.201 H 291.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A54DF
RGBrgb(122, 84, 223)
HSLhsl(256, 68%, 60%)
HSVhsv(256, 62%, 87%)
CMYKcmyk(45.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(46.72, 47.93, -65.75)
CIE-LCHlch(46.72, 81.36, 306.09°)
OKLaboklab(56.11% 0.0725 -0.188)
OKLCHoklch(56.11% 0.201 291.1)
XYZxyz(24.5119, 15.8051, 71.5569)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A54DF #B9DF54
analogous
#5473DF #7A54DF #C054DF
triadic
#7A54DF #DF7A54 #54DF7A
tetradic
#7A54DF #DF5473 #B9DF54 #54DFC0
square
#7A54DF #DF5473 #B9DF54 #54DFC0
split-complementary
#7A54DF #DFC054 #73DF54
monochromatic
#401D9C #5527CF #7A54DF #A288E9 #CABBF2

Accessibility & contrast

On white

5.05
#7A54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A54DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A54DF#FFFFFF#000000##FFFFFF
##7A54DF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#5B7492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a54df;
/* rgb */ color: rgb(122, 84, 223);
/* oklch */ color: oklch(56.1% 0.201 291.1);
Tailwind
colors: {
  custom: {
    50: '#a886ea',
    500: '#7a54df',
    950: '#000000',
  },
}
SCSS
$custom: #7a54df;
$custom-light: #a886ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a54df",
  "rgb": {
    "r": 122,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 256.403,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.20144,
    "h": 291.1
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#7A54DF
secondary
#D3E2AD
accent
#D0159D
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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