#7057AF#7057AF

#7057AF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.4% C 0.135 H 294.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7057AF
RGBrgb(112, 87, 175)
HSLhsl(257, 35%, 51%)
HSVhsv(257, 50%, 69%)
CMYKcmyk(36%, 50.3%, 0%, 31.4%)
CIE-LABlab(43.29, 30.62, -43.57)
CIE-LCHlch(43.29, 53.26, 305.10°)
OKLaboklab(52.37% 0.0557 -0.1231)
OKLCHoklch(52.37% 0.135 294.4)
XYZxyz(17.8262, 13.3559, 42.1879)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057AF #96AF57
analogous
#576AAF #7057AF #9C57AF
triadic
#7057AF #AF7057 #57AF70
tetradic
#7057AF #AF576A #96AF57 #57AF9C
square
#7057AF #AF576A #96AF57 #57AF9C
split-complementary
#7057AF #AF9C57 #6AAF57
monochromatic
#3B2D5F #554188 #7057AF #9380C3 #B7AAD6

Accessibility & contrast

On white

5.72
#7057AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7057AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057AF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057AF#FFFFFF#000000##FFFFFF
##7057AF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#61687B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7057af;
/* rgb */ color: rgb(112, 87, 175);
/* oklch */ color: oklch(52.4% 0.135 294.4);
Tailwind
colors: {
  custom: {
    50: '#9c87c7',
    500: '#7057af',
    950: '#000000',
  },
}
SCSS
$custom: #7057af;
$custom-light: #9c87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7057af",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 257.045,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.13513,
    "h": 294.4
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#7057AF
secondary
#B9C49E
accent
#CC5CAC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7057AF

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

Preview Lab → · Contrast checker → · Palette generator →

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