#7054E9#7054E9

#7054E9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.214 H 285.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7054E9
RGBrgb(112, 84, 233)
HSLhsl(251, 77%, 62%)
HSVhsv(251, 64%, 91%)
CMYKcmyk(51.9%, 63.9%, 0%, 8.6%)
CIE-LABlab(46.53, 48.90, -71.75)
CIE-LCHlch(46.53, 86.83, 304.28°)
OKLaboklab(55.99% 0.0584 -0.2059)
OKLCHoklch(55.99% 0.214 285.8)
XYZxyz(24.5560, 15.6673, 78.8052)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054E9 #CDE954
analogous
#5483E9 #7054E9 #BA54E9
triadic
#7054E9 #E97054 #54E970
tetradic
#7054E9 #E95483 #CDE954 #54E9BA
square
#7054E9 #E95483 #CDE954 #54E9BA
split-complementary
#7054E9 #E9BA54 #83E954
monochromatic
#3216AC #431EE2 #7054E9 #9D8AF0 #CBC0F7

Accessibility & contrast

On white

5.08
#7054E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7054E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054E9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054E9#FFFFFF#000000##FFFFFF
##7054E91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#407997
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7054e9;
/* rgb */ color: rgb(112, 84, 233);
/* oklch */ color: oklch(56.0% 0.214 285.8);
Tailwind
colors: {
  custom: {
    50: '#a386f1',
    500: '#7054e9',
    950: '#000000',
  },
}
SCSS
$custom: #7054e9;
$custom-light: #a386f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7054e9",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 251.275,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.21401,
    "h": 285.8
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#7054E9
secondary
#DDE8B1
accent
#D90CB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7054E9

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

Preview Lab → · Contrast checker → · Palette generator →

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