#7057B4#7057B4

#7057B4 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.7% C 0.142 H 293.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7057B4
RGBrgb(112, 87, 180)
HSLhsl(256, 38%, 52%)
HSVhsv(256, 52%, 71%)
CMYKcmyk(37.8%, 51.7%, 0%, 29.4%)
CIE-LABlab(43.59, 32.01, -46.04)
CIE-LCHlch(43.59, 56.07, 304.81°)
OKLaboklab(52.68% 0.0562 -0.1303)
OKLCHoklch(52.68% 0.142 293.3)
XYZxyz(18.3263, 13.5560, 44.8222)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057B4 #9BB457
analogous
#576CB4 #7057B4 #9F57B4
triadic
#7057B4 #B47057 #57B470
tetradic
#7057B4 #B4576C #9BB457 #57B49F
square
#7057B4 #B4576C #9BB457 #57B49F
split-complementary
#7057B4 #B49F57 #6CB457
monochromatic
#3C2D64 #55408E #7057B4 #9481C7 #B8ACDA

Accessibility & contrast

On white

5.66
#7057B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7057B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057B4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057B4#FFFFFF#000000##FFFFFF
##7057B41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#5F6A7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7057b4;
/* rgb */ color: rgb(112, 87, 180);
/* oklch */ color: oklch(52.7% 0.142 293.3);
Tailwind
colors: {
  custom: {
    50: '#9d87cb',
    500: '#7057b4',
    950: '#000000',
  },
}
SCSS
$custom: #7057b4;
$custom-light: #9d87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7057b4",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 256.129,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.14191,
    "h": 293.3
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#7057B4
secondary
#BDC89F
accent
#CE5AAF
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7057B4

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

Preview Lab → · Contrast checker → · Palette generator →

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