#7054DF#7054DF

#7054DF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.2% C 0.202 H 287.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7054DF
RGBrgb(112, 84, 223)
HSLhsl(252, 68%, 60%)
HSVhsv(252, 62%, 87%)
CMYKcmyk(49.8%, 62.3%, 0%, 12.5%)
CIE-LABlab(45.79, 46.01, -67.30)
CIE-LCHlch(45.79, 81.53, 304.36°)
OKLaboklab(55.22% 0.0593 -0.1928)
OKLCHoklch(55.22% 0.202 287.1)
XYZxyz(23.1678, 15.1120, 71.4939)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054DF #C3DF54
analogous
#547EDF #7054DF #B554DF
triadic
#7054DF #DF7054 #54DF70
tetradic
#7054DF #DF547E #C3DF54 #54DFB5
square
#7054DF #DF547E #C3DF54 #54DFB5
split-complementary
#7054DF #DFB554 #7EDF54
monochromatic
#371D9C #4927CF #7054DF #9B88E9 #C6BBF2

Accessibility & contrast

On white

5.22
#7054DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7054DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054DF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054DF#FFFFFF#000000##FFFFFF
##7054DF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#487592
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7054df;
/* rgb */ color: rgb(112, 84, 223);
/* oklch */ color: oklch(55.2% 0.202 287.1);
Tailwind
colors: {
  custom: {
    50: '#a285ea',
    500: '#7054df',
    950: '#000000',
  },
}
SCSS
$custom: #7054df;
$custom-light: #a285ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7054df",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 252.086,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.20175,
    "h": 287.1
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#7054DF
secondary
#D7E2AD
accent
#D015AB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7054DF

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

Preview Lab → · Contrast checker → · Palette generator →

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