#7057BB#7057BB

#7057BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.1% C 0.151 H 292.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7057BB
RGBrgb(112, 87, 187)
HSLhsl(255, 42%, 54%)
HSVhsv(255, 53%, 73%)
CMYKcmyk(40.1%, 53.5%, 0%, 26.7%)
CIE-LABlab(44.01, 33.96, -49.45)
CIE-LCHlch(44.01, 59.99, 304.48°)
OKLaboklab(53.14% 0.0566 -0.1403)
OKLCHoklch(53.14% 0.151 292)
XYZxyz(19.0575, 13.8485, 48.6730)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057BB #A2BB57
analogous
#5770BB #7057BB #A257BB
triadic
#7057BB #BB7057 #57BB70
tetradic
#7057BB #BB5770 #A2BB57 #57BBA2
square
#7057BB #BB5770 #A2BB57 #57BBA2
split-complementary
#7057BB #BBA257 #70BB57
monochromatic
#3C2C6C #543D97 #7057BB #9583CD #BAAEDE

Accessibility & contrast

On white

5.57
#7057BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7057BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057BB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057BB#FFFFFF#000000##FFFFFF
##7057BB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#5C6C80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7057bb;
/* rgb */ color: rgb(112, 87, 187);
/* oklch */ color: oklch(53.1% 0.151 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d87d0',
    500: '#7057bb',
    950: '#000000',
  },
}
SCSS
$custom: #7057bb;
$custom-light: #9d87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7057bb",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 255,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.15132,
    "h": 292
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#7057BB
secondary
#C2CCA2
accent
#D256B3
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7057BB

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

Preview Lab → · Contrast checker → · Palette generator →

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