#7054BB#7054BB

#7054BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.156 H 292.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7054BB
RGBrgb(112, 84, 187)
HSLhsl(256, 43%, 53%)
HSVhsv(256, 55%, 73%)
CMYKcmyk(40.1%, 55.1%, 0%, 26.7%)
CIE-LABlab(43.32, 35.74, -50.56)
CIE-LCHlch(43.32, 61.92, 305.25°)
OKLaboklab(52.62% 0.0603 -0.1436)
OKLCHoklch(52.62% 0.156 292.8)
XYZxyz(18.8197, 13.3728, 48.5937)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054BB #9FBB54
analogous
#546BBB #7054BB #A354BB
triadic
#7054BB #BB7054 #54BB70
tetradic
#7054BB #BB546B #9FBB54 #54BBA3
square
#7054BB #BB546B #9FBB54 #54BBA3
split-complementary
#7054BB #BBA354 #6BBB54
monochromatic
#3C2A6A #543C96 #7054BB #9580CC #B9ACDE

Accessibility & contrast

On white

5.71
#7054BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7054BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054BB#FFFFFF#000000##FFFFFF
##7054BB1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#2964B9
Tritanopia (blue-blind)
#5C6A7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7054bb;
/* rgb */ color: rgb(112, 84, 187);
/* oklch */ color: oklch(52.6% 0.156 292.8);
Tailwind
colors: {
  custom: {
    50: '#9d85d0',
    500: '#7054bb',
    950: '#000000',
  },
}
SCSS
$custom: #7054bb;
$custom-light: #9d85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7054bb",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 256.311,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.15578,
    "h": 292.8
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#7054BB
secondary
#C0CC9F
accent
#D355B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7054BB

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

Preview Lab → · Contrast checker → · Palette generator →

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