#7054DD#7054DD

#7054DD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.199 H 287.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7054DD
RGBrgb(112, 84, 221)
HSLhsl(252, 67%, 60%)
HSVhsv(252, 62%, 87%)
CMYKcmyk(49.3%, 62%, 0%, 13.3%)
CIE-LABlab(45.64, 45.43, -66.40)
CIE-LCHlch(45.64, 80.46, 304.38°)
OKLaboklab(55.06% 0.0595 -0.1902)
OKLCHoklch(55.06% 0.199 287.4)
XYZxyz(22.8997, 15.0048, 70.0822)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054DD #C1DD54
analogous
#547CDD #7054DD #B554DD
triadic
#7054DD #DD7054 #54DD70
tetradic
#7054DD #DD547C #C1DD54 #54DDB5
square
#7054DD #DD547C #C1DD54 #54DDB5
split-complementary
#7054DD #DDB554 #7CDD54
monochromatic
#371E98 #4A28CB #7054DD #9B87E7 #C5BAF1

Accessibility & contrast

On white

5.25
#7054DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7054DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054DD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054DD#FFFFFF#000000##FFFFFF
##7054DD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#497591
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7054dd;
/* rgb */ color: rgb(112, 84, 221);
/* oklch */ color: oklch(55.1% 0.199 287.4);
Tailwind
colors: {
  custom: {
    50: '#a185e8',
    500: '#7054dd',
    950: '#000000',
  },
}
SCSS
$custom: #7054dd;
$custom-light: #a185e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7054dd",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 252.263,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.19926,
    "h": 287.4
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#7054DD
secondary
#D6E1AC
accent
#EA3EC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7054DD

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

Preview Lab → · Contrast checker → · Palette generator →

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