#7054DA#7054DA

#7054DA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.196 H 287.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7054DA
RGBrgb(112, 84, 218)
HSLhsl(253, 64%, 59%)
HSVhsv(253, 61%, 85%)
CMYKcmyk(48.6%, 61.5%, 0%, 14.5%)
CIE-LABlab(45.42, 44.57, -65.05)
CIE-LCHlch(45.42, 78.85, 304.42°)
OKLaboklab(54.84% 0.0597 -0.1862)
OKLCHoklch(54.84% 0.196 287.8)
XYZxyz(22.5036, 14.8464, 67.9960)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054DA #BEDA54
analogous
#547BDA #7054DA #B354DA
triadic
#7054DA #DA7054 #54DA70
tetradic
#7054DA #DA547B #BEDA54 #54DAB3
square
#7054DA #DA547B #BEDA54 #54DAB3
split-complementary
#7054DA #DAB354 #7BDA54
monochromatic
#382094 #4B2BC6 #7054DA #9A86E5 #C4B9F0

Accessibility & contrast

On white

5.29
#7054DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7054DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054DA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054DA#FFFFFF#000000##FFFFFF
##7054DA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#4B748F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7054da;
/* rgb */ color: rgb(112, 84, 218);
/* oklch */ color: oklch(54.8% 0.196 287.8);
Tailwind
colors: {
  custom: {
    50: '#a185e6',
    500: '#7054da',
    950: '#000000',
  },
}
SCSS
$custom: #7054da;
$custom-light: #a185e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7054da",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 252.537,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.19553,
    "h": 287.8
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#7054DA
secondary
#D4DFAB
accent
#E740C5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7054DA

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

Preview Lab → · Contrast checker → · Palette generator →

#7054DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva