#7857EB#7857EB

#7857EB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.212 H 288.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7857EB
RGBrgb(120, 87, 235)
HSLhsl(253, 79%, 63%)
HSVhsv(253, 63%, 92%)
CMYKcmyk(48.9%, 63%, 0%, 7.8%)
CIE-LABlab(48.02, 49.25, -70.44)
CIE-LCHlch(48.02, 85.95, 304.96°)
OKLaboklab(57.29% 0.0657 -0.2018)
OKLCHoklch(57.29% 0.212 288)
XYZxyz(26.1450, 16.8065, 80.4475)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857EB #CAEB57
analogous
#5780EB #7857EB #C257EB
triadic
#7857EB #EB7857 #57EB78
tetradic
#7857EB #EB5780 #CAEB57 #57EBC2
square
#7857EB #EB5780 #CAEB57 #57EBC2
split-complementary
#7857EB #EBC257 #80EB57
monochromatic
#3815B2 #4C20E4 #7857EB #A48EF2 #D0C4F8

Accessibility & contrast

On white

4.81
#7857EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7857EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857EB#FFFFFF#000000##FFFFFF
##7857EB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#507B99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7857eb;
/* rgb */ color: rgb(120, 87, 235);
/* oklch */ color: oklch(57.3% 0.212 288.0);
Tailwind
colors: {
  custom: {
    50: '#a888f2',
    500: '#7857eb',
    950: '#000000',
  },
}
SCSS
$custom: #7857eb;
$custom-light: #a888f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7857eb",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 253.378,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.21223,
    "h": 288
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#7857EB
secondary
#DEE9B4
accent
#DB0AAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7857EB

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

Preview Lab → · Contrast checker → · Palette generator →

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