#7054CC#7054CC

#7054CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.178 H 289.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7054CC
RGBrgb(112, 84, 204)
HSLhsl(254, 54%, 56%)
HSVhsv(254, 59%, 80%)
CMYKcmyk(45.1%, 58.8%, 0%, 20%)
CIE-LABlab(44.44, 40.55, -58.62)
CIE-LCHlch(44.44, 71.27, 304.67°)
OKLaboklab(53.8% 0.0603 -0.1673)
OKLCHoklch(53.8% 0.178 289.8)
XYZxyz(20.7484, 14.1443, 58.7519)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054CC #B0CC54
analogous
#5474CC #7054CC #AC54CC
triadic
#7054CC #CC7054 #54CC70
tetradic
#7054CC #CC5474 #B0CC54 #54CCAC
square
#7054CC #CC5474 #B0CC54 #54CCAC
split-complementary
#7054CC #CCAC54 #74CC54
monochromatic
#3B2680 #5134AF #7054CC #9783DA #BFB2E8

Accessibility & contrast

On white

5.48
#7054CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7054CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054CC#FFFFFF#000000##FFFFFF
##7054CC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#546F88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7054cc;
/* rgb */ color: rgb(112, 84, 204);
/* oklch */ color: oklch(53.8% 0.178 289.8);
Tailwind
colors: {
  custom: {
    50: '#9f85dc',
    500: '#7054cc',
    950: '#000000',
  },
}
SCSS
$custom: #7054cc;
$custom-light: #9f85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7054cc",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 254,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.17784,
    "h": 289.8
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#7054CC
secondary
#CBD7A5
accent
#DD4ABB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7054CC

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

Preview Lab → · Contrast checker → · Palette generator →

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