#7057BF#7057BF

#7057BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.4% C 0.157 H 291.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7057BF
RGBrgb(112, 87, 191)
HSLhsl(254, 45%, 55%)
HSVhsv(254, 54%, 75%)
CMYKcmyk(41.4%, 54.5%, 0%, 25.1%)
CIE-LABlab(44.26, 35.09, -51.38)
CIE-LCHlch(44.26, 62.22, 304.33°)
OKLaboklab(53.4% 0.0568 -0.146)
OKLCHoklch(53.4% 0.157 291.2)
XYZxyz(19.4917, 14.0221, 50.9597)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057BF #A6BF57
analogous
#5772BF #7057BF #A457BF
triadic
#7057BF #BF7057 #57BF70
tetradic
#7057BF #BF5772 #A6BF57 #57BFA4
square
#7057BF #BF5772 #A6BF57 #57BFA4
split-complementary
#7057BF #BFA457 #72BF57
monochromatic
#3C2B71 #533C9D #7057BF #9683D0 #BBB0E1

Accessibility & contrast

On white

5.52
#7057BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7057BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057BF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057BF#FFFFFF#000000##FFFFFF
##7057BF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#2A66BD
Tritanopia (blue-blind)
#5A6D82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7057bf;
/* rgb */ color: rgb(112, 87, 191);
/* oklch */ color: oklch(53.4% 0.157 291.2);
Tailwind
colors: {
  custom: {
    50: '#9e87d3',
    500: '#7057bf',
    950: '#000000',
  },
}
SCSS
$custom: #7057bf;
$custom-light: #9e87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7057bf",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 254.423,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.15664,
    "h": 291.2
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#7057BF
secondary
#C4CFA3
accent
#D553B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7057BF

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

Preview Lab → · Contrast checker → · Palette generator →

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