#7054F0#7054F0

#7054F0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.5% C 0.222 H 285.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7054F0
RGBrgb(112, 84, 240)
HSLhsl(251, 84%, 64%)
HSVhsv(251, 65%, 94%)
CMYKcmyk(53.3%, 65%, 0%, 5.9%)
CIE-LABlab(47.07, 50.93, -74.81)
CIE-LCHlch(47.07, 90.50, 304.25°)
OKLaboklab(56.55% 0.0576 -0.2149)
OKLCHoklch(56.55% 0.222 285)
XYZxyz(25.5758, 16.0752, 84.1763)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054F0 #D4F054
analogous
#5486F0 #7054F0 #BE54F0
triadic
#7054F0 #F07054 #54F070
tetradic
#7054F0 #F05486 #D4F054 #54F0BE
square
#7054F0 #F05486 #D4F054 #54F0BE
split-complementary
#7054F0 #F0BE54 #86F054
monochromatic
#2F10B9 #411CEB #7054F0 #9F8CF5 #CEC5FA

Accessibility & contrast

On white

4.98
#7054F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7054F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054F0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054F0#FFFFFF#000000##FFFFFF
##7054F01.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#397B9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7054f0;
/* rgb */ color: rgb(112, 84, 240);
/* oklch */ color: oklch(56.5% 0.222 285.0);
Tailwind
colors: {
  custom: {
    50: '#a486f6',
    500: '#7054f0',
    950: '#000000',
  },
}
SCSS
$custom: #7054f0;
$custom-light: #a486f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7054f0",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 250.769,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.22249,
    "h": 285
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#7054F0
secondary
#E2ECB4
accent
#E005B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7054F0

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

Preview Lab → · Contrast checker → · Palette generator →

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