#7054E4#7054E4

#7054E4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.6% C 0.208 H 286.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7054E4
RGBrgb(112, 84, 228)
HSLhsl(252, 73%, 61%)
HSVhsv(252, 63%, 89%)
CMYKcmyk(50.9%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.16, 47.46, -69.54)
CIE-LCHlch(46.16, 84.19, 304.31°)
OKLaboklab(55.6% 0.0589 -0.1994)
OKLCHoklch(55.6% 0.208 286.4)
XYZxyz(23.8519, 15.3856, 75.0967)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054E4 #C8E454
analogous
#5480E4 #7054E4 #B854E4
triadic
#7054E4 #E47054 #54E470
tetradic
#7054E4 #E45480 #C8E454 #54E4B8
square
#7054E4 #E45480 #C8E454 #54E4B8
split-complementary
#7054E4 #E4B854 #80E454
monochromatic
#351AA4 #4622D9 #7054E4 #9C89EC #C8BEF5

Accessibility & contrast

On white

5.15
#7054E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7054E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054E4#FFFFFF#000000##FFFFFF
##7054E41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#447794
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7054e4;
/* rgb */ color: rgb(112, 84, 228);
/* oklch */ color: oklch(55.6% 0.208 286.4);
Tailwind
colors: {
  custom: {
    50: '#a286ed',
    500: '#7054e4',
    950: '#000000',
  },
}
SCSS
$custom: #7054e4;
$custom-light: #a286ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7054e4",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 251.667,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.20791,
    "h": 286.4
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#7054E4
secondary
#DAE5AF
accent
#D511AF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7054E4

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

Preview Lab → · Contrast checker → · Palette generator →

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