#7054BC#7054BC

#7054BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.7% C 0.157 H 292.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7054BC
RGBrgb(112, 84, 188)
HSLhsl(256, 44%, 53%)
HSVhsv(256, 55%, 74%)
CMYKcmyk(40.4%, 55.3%, 0%, 26.3%)
CIE-LABlab(43.38, 36.02, -51.05)
CIE-LCHlch(43.38, 62.47, 305.21°)
OKLaboklab(52.69% 0.0604 -0.145)
OKLCHoklch(52.69% 0.157 292.6)
XYZxyz(18.9271, 13.4157, 49.1595)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054BC #A0BC54
analogous
#546CBC #7054BC #A454BC
triadic
#7054BC #BC7054 #54BC70
tetradic
#7054BC #BC546C #A0BC54 #54BCA4
square
#7054BC #BC546C #A0BC54 #54BCA4
split-complementary
#7054BC #BCA454 #6CBC54
monochromatic
#3C2A6B #543B97 #7054BC #9580CD #BAACDE

Accessibility & contrast

On white

5.70
#7054BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7054BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054BC#FFFFFF#000000##FFFFFF
##7054BC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#5C6A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7054bc;
/* rgb */ color: rgb(112, 84, 188);
/* oklch */ color: oklch(52.7% 0.157 292.6);
Tailwind
colors: {
  custom: {
    50: '#9e85d1',
    500: '#7054bc',
    950: '#000000',
  },
}
SCSS
$custom: #7054bc;
$custom-light: #9e85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7054bc",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 256.154,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.15709,
    "h": 292.6
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#7054BC
secondary
#C0CCA0
accent
#D354B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7054BC

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

Preview Lab → · Contrast checker → · Palette generator →

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