#7054BE#7054BE

#7054BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.8% C 0.160 H 292.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7054BE
RGBrgb(112, 84, 190)
HSLhsl(256, 45%, 54%)
HSVhsv(256, 56%, 75%)
CMYKcmyk(41.1%, 55.8%, 0%, 25.5%)
CIE-LABlab(43.51, 36.58, -52.01)
CIE-LCHlch(43.51, 63.58, 305.12°)
OKLaboklab(52.82% 0.0604 -0.1478)
OKLCHoklch(52.82% 0.16 292.2)
XYZxyz(19.1442, 13.5026, 50.3028)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054BE #A2BE54
analogous
#546DBE #7054BE #A554BE
triadic
#7054BE #BE7054 #54BE70
tetradic
#7054BE #BE546D #A2BE54 #54BEA5
square
#7054BE #BE546D #A2BE54 #54BEA5
split-complementary
#7054BE #BEA554 #6DBE54
monochromatic
#3C2A6E #543B9A #7054BE #9580CF #BAADE0

Accessibility & contrast

On white

5.67
#7054BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7054BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054BE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054BE#FFFFFF#000000##FFFFFF
##7054BE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#5B6B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7054be;
/* rgb */ color: rgb(112, 84, 190);
/* oklch */ color: oklch(52.8% 0.160 292.2);
Tailwind
colors: {
  custom: {
    50: '#9e85d2',
    500: '#7054be',
    950: '#000000',
  },
}
SCSS
$custom: #7054be;
$custom-light: #9e85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7054be",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 255.849,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.15971,
    "h": 292.2
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#7054BE
secondary
#C2CEA0
accent
#D553B2
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7054BE

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

Preview Lab → · Contrast checker → · Palette generator →

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