#7057BC#7057BC

#7057BC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.2% C 0.153 H 291.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7057BC
RGBrgb(112, 87, 188)
HSLhsl(255, 43%, 54%)
HSVhsv(255, 54%, 74%)
CMYKcmyk(40.4%, 53.7%, 0%, 26.3%)
CIE-LABlab(44.08, 34.25, -49.93)
CIE-LCHlch(44.08, 60.55, 304.44°)
OKLaboklab(53.2% 0.0566 -0.1417)
OKLCHoklch(53.2% 0.153 291.8)
XYZxyz(19.1649, 13.8914, 49.2388)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057BC #A3BC57
analogous
#5771BC #7057BC #A357BC
triadic
#7057BC #BC7057 #57BC70
tetradic
#7057BC #BC5771 #A3BC57 #57BCA3
square
#7057BC #BC5771 #A3BC57 #57BCA3
split-complementary
#7057BC #BCA357 #71BC57
monochromatic
#3C2C6D #543D99 #7057BC #9583CD #BAAFDF

Accessibility & contrast

On white

5.56
#7057BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7057BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057BC#FFFFFF#000000##FFFFFF
##7057BC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296ABF
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#5C6C81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7057bc;
/* rgb */ color: rgb(112, 87, 188);
/* oklch */ color: oklch(53.2% 0.153 291.8);
Tailwind
colors: {
  custom: {
    50: '#9d87d1',
    500: '#7057bc',
    950: '#000000',
  },
}
SCSS
$custom: #7057bc;
$custom-light: #9d87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7057bc",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 254.851,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.15264,
    "h": 291.8
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#7057BC
secondary
#C2CDA2
accent
#D355B4
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7057BC

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

Preview Lab → · Contrast checker → · Palette generator →

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