#7057BD#7057BD

#7057BD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.3% C 0.154 H 291.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7057BD
RGBrgb(112, 87, 189)
HSLhsl(255, 44%, 54%)
HSVhsv(255, 54%, 74%)
CMYKcmyk(40.7%, 54%, 0%, 25.9%)
CIE-LABlab(44.14, 34.53, -50.41)
CIE-LCHlch(44.14, 61.10, 304.41°)
OKLaboklab(53.27% 0.0567 -0.1432)
OKLCHoklch(53.27% 0.154 291.6)
XYZxyz(19.2731, 13.9347, 49.8085)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057BD #A4BD57
analogous
#5771BD #7057BD #A357BD
triadic
#7057BD #BD7057 #57BD70
tetradic
#7057BD #BD5771 #A4BD57 #57BDA3
square
#7057BD #BD5771 #A4BD57 #57BDA3
split-complementary
#7057BD #BDA357 #71BD57
monochromatic
#3C2B6E #543D9A #7057BD #9583CE #BBAFE0

Accessibility & contrast

On white

5.55
#7057BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7057BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057BD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057BD#FFFFFF#000000##FFFFFF
##7057BD1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#5B6C81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7057bd;
/* rgb */ color: rgb(112, 87, 189);
/* oklch */ color: oklch(53.3% 0.154 291.6);
Tailwind
colors: {
  custom: {
    50: '#9d87d1',
    500: '#7057bd',
    950: '#000000',
  },
}
SCSS
$custom: #7057bd;
$custom-light: #9d87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7057bd",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 254.706,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.15398,
    "h": 291.6
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#7057BD
secondary
#C3CEA2
accent
#D354B4
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7057BD

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

Preview Lab → · Contrast checker → · Palette generator →

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