#7054AE#7054AE

#7054AE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.8% C 0.138 H 295.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7054AE
RGBrgb(112, 84, 174)
HSLhsl(259, 36%, 51%)
HSVhsv(259, 52%, 68%)
CMYKcmyk(35.6%, 51.7%, 0%, 31.8%)
CIE-LABlab(42.52, 32.14, -44.22)
CIE-LCHlch(42.52, 54.66, 306.02°)
OKLaboklab(51.77% 0.0596 -0.125)
OKLCHoklch(51.77% 0.138 295.5)
XYZxyz(17.4905, 12.8411, 41.5933)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054AE #92AE54
analogous
#5465AE #7054AE #9D54AE
triadic
#7054AE #AE7054 #54AE70
tetradic
#7054AE #AE5465 #92AE54 #54AE9D
square
#7054AE #AE5465 #92AE54 #54AE9D
split-complementary
#7054AE #AE9D54 #65AE54
monochromatic
#3B2C5C #553F86 #7054AE #937EC2 #B5A7D5

Accessibility & contrast

On white

5.89
#7054AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7054AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054AE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054AE#FFFFFF#000000##FFFFFF
##7054AE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#626679
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7054ae;
/* rgb */ color: rgb(112, 84, 174);
/* oklch */ color: oklch(51.8% 0.138 295.5);
Tailwind
colors: {
  custom: {
    50: '#9c85c7',
    500: '#7054ae',
    950: '#000000',
  },
}
SCSS
$custom: #7054ae;
$custom-light: #9c85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7054ae",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 258.667,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.13849,
    "h": 295.5
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#7054AE
secondary
#B6C39B
accent
#CC5CA9
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7054AE

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

Preview Lab → · Contrast checker → · Palette generator →

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