#7054F3#7054F3

#7054F3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.226 H 284.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7054F3
RGBrgb(112, 84, 243)
HSLhsl(251, 87%, 64%)
HSVhsv(251, 65%, 95%)
CMYKcmyk(53.9%, 65.4%, 0%, 4.7%)
CIE-LABlab(47.31, 51.80, -76.11)
CIE-LCHlch(47.31, 92.07, 304.24°)
OKLaboklab(56.79% 0.0572 -0.2187)
OKLCHoklch(56.79% 0.226 284.7)
XYZxyz(26.0252, 16.2550, 86.5428)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054F3 #D7F354
analogous
#5488F3 #7054F3 #C054F3
triadic
#7054F3 #F37054 #54F370
tetradic
#7054F3 #F35488 #D7F354 #54F3C0
square
#7054F3 #F35488 #D7F354 #54F3C0
split-complementary
#7054F3 #F3C054 #88F354
monochromatic
#2D0DBF #401BEF #7054F3 #A08DF7 #D0C6FB

Accessibility & contrast

On white

4.94
#7054F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7054F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054F3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054F3#FFFFFF#000000##FFFFFF
##7054F31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#367C9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7054f3;
/* rgb */ color: rgb(112, 84, 243);
/* oklch */ color: oklch(56.8% 0.226 284.7);
Tailwind
colors: {
  custom: {
    50: '#a486f8',
    500: '#7054f3',
    950: '#000000',
  },
}
SCSS
$custom: #7054f3;
$custom-light: #a486f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7054f3",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 250.566,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.22608,
    "h": 284.7
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#7054F3
secondary
#E3EDB6
accent
#E302BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7054F3

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

Preview Lab → · Contrast checker → · Palette generator →

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