#7057F2#7057F2

#7057F2 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.2% C 0.221 H 284.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7057F2
RGBrgb(112, 87, 242)
HSLhsl(250, 86%, 65%)
HSVhsv(250, 64%, 95%)
CMYKcmyk(53.7%, 64%, 0%, 5.1%)
CIE-LABlab(47.84, 49.86, -74.68)
CIE-LCHlch(47.84, 89.79, 303.73°)
OKLaboklab(57.15% 0.0547 -0.2145)
OKLCHoklch(57.15% 0.221 284.3)
XYZxyz(26.1124, 16.6704, 85.8290)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057F2 #D9F257
analogous
#578CF2 #7057F2 #BD57F2
triadic
#7057F2 #F27057 #57F270
tetradic
#7057F2 #F2578C #D9F257 #57F2BD
square
#7057F2 #F2578C #D9F257 #57F2BD
split-complementary
#7057F2 #F2BD57 #8CF257
monochromatic
#2B0FC0 #401EEE #7057F2 #A090F6 #D1C9FB

Accessibility & contrast

On white

4.84
#7057F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7057F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057F2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057F2#FFFFFF#000000##FFFFFF
##7057F21.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#367E9D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7057f2;
/* rgb */ color: rgb(112, 87, 242);
/* oklch */ color: oklch(57.2% 0.221 284.3);
Tailwind
colors: {
  custom: {
    50: '#a488f7',
    500: '#7057f2',
    950: '#000000',
  },
}
SCSS
$custom: #7057f2;
$custom-light: #a488f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7057f2",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 249.677,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.22137,
    "h": 284.3
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#7057F2
secondary
#E5EDB8
accent
#E203BE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7057F2

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

Preview Lab → · Contrast checker → · Palette generator →

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