#7054C8#7054C8

#7054C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.5% C 0.173 H 290.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7054C8
RGBrgb(112, 84, 200)
HSLhsl(254, 51%, 56%)
HSVhsv(254, 58%, 78%)
CMYKcmyk(44%, 58%, 0%, 21.6%)
CIE-LABlab(44.17, 39.41, -56.75)
CIE-LCHlch(44.17, 69.09, 304.78°)
OKLaboklab(53.52% 0.0604 -0.1618)
OKLCHoklch(53.52% 0.173 290.5)
XYZxyz(20.2748, 13.9548, 56.2577)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054C8 #ACC854
analogous
#5472C8 #7054C8 #AA54C8
triadic
#7054C8 #C87054 #54C870
tetradic
#7054C8 #C85472 #ACC854 #54C8AA
square
#7054C8 #C85472 #ACC854 #54C8AA
split-complementary
#7054C8 #C8AA54 #72C854
monochromatic
#3B277A #5236A9 #7054C8 #9782D7 #BDB1E6

Accessibility & contrast

On white

5.54
#7054C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7054C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054C8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054C8#FFFFFF#000000##FFFFFF
##7054C81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0D66C5
Tritanopia (blue-blind)
#566E86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7054c8;
/* rgb */ color: rgb(112, 84, 200);
/* oklch */ color: oklch(53.5% 0.173 290.5);
Tailwind
colors: {
  custom: {
    50: '#9f85d9',
    500: '#7054c8',
    950: '#000000',
  },
}
SCSS
$custom: #7054c8;
$custom-light: #9f85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7054c8",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 254.483,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.1727,
    "h": 290.5
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#7054C8
secondary
#C8D4A4
accent
#DB4DB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7054C8

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

Preview Lab → · Contrast checker → · Palette generator →

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