#7057DF#7057DF

#7057DF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.198 H 286.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7057DF
RGBrgb(112, 87, 223)
HSLhsl(251, 68%, 61%)
HSVhsv(251, 61%, 87%)
CMYKcmyk(49.8%, 61%, 0%, 12.5%)
CIE-LABlab(46.43, 44.31, -66.26)
CIE-LCHlch(46.43, 79.71, 303.77°)
OKLaboklab(55.68% 0.0563 -0.1898)
OKLCHoklch(55.68% 0.198 286.5)
XYZxyz(23.4056, 15.5877, 71.5732)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057DF #C6DF57
analogous
#5782DF #7057DF #B457DF
triadic
#7057DF #DF7057 #57DF70
tetradic
#7057DF #DF5782 #C6DF57 #57DFB4
square
#7057DF #DF5782 #C6DF57 #57DFB4
split-complementary
#7057DF #DFB457 #82DF57
monochromatic
#351E9E #4728D1 #7057DF #9C8AE9 #C8BEF3

Accessibility & contrast

On white

5.10
#7057DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7057DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057DF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057DF#FFFFFF#000000##FFFFFF
##7057DF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#487793
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7057df;
/* rgb */ color: rgb(112, 87, 223);
/* oklch */ color: oklch(55.7% 0.198 286.5);
Tailwind
colors: {
  custom: {
    50: '#a187ea',
    500: '#7057df',
    950: '#000000',
  },
}
SCSS
$custom: #7057df;
$custom-light: #a187ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7057df",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 251.029,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.19793,
    "h": 286.5
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#7057DF
secondary
#D9E3AF
accent
#D016AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057DF

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

Preview Lab → · Contrast checker → · Palette generator →

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