#7057F5#7057F5

#7057F5 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.4% C 0.225 H 284.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7057F5
RGBrgb(112, 87, 245)
HSLhsl(249, 89%, 65%)
HSVhsv(249, 64%, 96%)
CMYKcmyk(54.3%, 64.5%, 0%, 3.9%)
CIE-LABlab(48.07, 50.74, -75.98)
CIE-LCHlch(48.07, 91.37, 303.73°)
OKLaboklab(57.39% 0.0544 -0.2183)
OKLCHoklch(57.39% 0.225 284)
XYZxyz(26.5667, 16.8521, 88.2214)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057F5 #DCF557
analogous
#578DF5 #7057F5 #BF57F5
triadic
#7057F5 #F57057 #57F570
tetradic
#7057F5 #F5578D #DCF557 #57F5BF
square
#7057F5 #F5578D #DCF557 #57F5BF
split-complementary
#7057F5 #F5BF57 #8DF557
monochromatic
#290CC6 #3F1DF2 #7057F5 #A191F8 #D2CBFC

Accessibility & contrast

On white

4.80
#7057F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7057F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057F5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057F5#FFFFFF#000000##FFFFFF
##7057F51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#337F9E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7057f5;
/* rgb */ color: rgb(112, 87, 245);
/* oklch */ color: oklch(57.4% 0.225 284.0);
Tailwind
colors: {
  custom: {
    50: '#a488fa',
    500: '#7057f5',
    950: '#000000',
  },
}
SCSS
$custom: #7057f5;
$custom-light: #a488fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7057f5",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 249.494,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.225,
    "h": 284
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#7057F5
secondary
#E6EFB9
accent
#E500C1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7057F5

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

Preview Lab → · Contrast checker → · Palette generator →

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