#7857E7#7857E7

#7857E7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.0% C 0.207 H 288.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7857E7
RGBrgb(120, 87, 231)
HSLhsl(254, 75%, 62%)
HSVhsv(254, 62%, 91%)
CMYKcmyk(48.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(47.72, 48.12, -68.65)
CIE-LCHlch(47.72, 83.84, 305.03°)
OKLaboklab(56.98% 0.0661 -0.1966)
OKLCHoklch(56.98% 0.207 288.6)
XYZxyz(25.5736, 16.5779, 77.4382)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857E7 #C6E757
analogous
#577EE7 #7857E7 #C057E7
triadic
#7857E7 #E77857 #57E778
tetradic
#7857E7 #E7577E #C6E757 #57E7C0
square
#7857E7 #E7577E #C6E757 #57E7C0
split-complementary
#7857E7 #E7C057 #7EE757
monochromatic
#3A18AB #4D21DF #7857E7 #A38DEF #CEC2F6

Accessibility & contrast

On white

4.87
#7857E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7857E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857E7#FFFFFF#000000##FFFFFF
##7857E71.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#537997
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7857e7;
/* rgb */ color: rgb(120, 87, 231);
/* oklch */ color: oklch(57.0% 0.207 288.6);
Tailwind
colors: {
  custom: {
    50: '#a788f0',
    500: '#7857e7',
    950: '#000000',
  },
}
SCSS
$custom: #7857e7;
$custom-light: #a788f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7857e7",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 253.75,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.20737,
    "h": 288.6
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#7857E7
secondary
#DBE7B3
accent
#D70EA9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7857E7

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

Preview Lab → · Contrast checker → · Palette generator →

#7857E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva