#7857EE#7857EE

#7857EE is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.216 H 287.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7857EE
RGBrgb(120, 87, 238)
HSLhsl(253, 82%, 64%)
HSVhsv(253, 63%, 93%)
CMYKcmyk(49.6%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.24, 50.10, -71.76)
CIE-LCHlch(48.24, 87.52, 304.92°)
OKLaboklab(57.52% 0.0654 -0.2057)
OKLCHoklch(57.52% 0.216 287.7)
XYZxyz(26.5820, 16.9813, 82.7494)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857EE #CDEE57
analogous
#5781EE #7857EE #C457EE
triadic
#7857EE #EE7857 #57EE78
tetradic
#7857EE #EE5781 #CDEE57 #57EEC4
square
#7857EE #EE5781 #CDEE57 #57EEC4
split-complementary
#7857EE #EEC457 #81EE57
monochromatic
#3713B8 #4B1FE8 #7857EE #A58FF4 #D1C6F9

Accessibility & contrast

On white

4.78
#7857EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7857EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857EE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857EE#FFFFFF#000000##FFFFFF
##7857EE1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#4E7C9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7857ee;
/* rgb */ color: rgb(120, 87, 238);
/* oklch */ color: oklch(57.5% 0.216 287.7);
Tailwind
colors: {
  custom: {
    50: '#a888f5',
    500: '#7857ee',
    950: '#000000',
  },
}
SCSS
$custom: #7857ee;
$custom-light: #a888f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7857ee",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 253.113,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.21586,
    "h": 287.7
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#7857EE
secondary
#DFEBB6
accent
#DE08AF
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7857EE

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

Preview Lab → · Contrast checker → · Palette generator →

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