#7857EF#7857EF

#7857EF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.217 H 287.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7857EF
RGBrgb(120, 87, 239)
HSLhsl(253, 83%, 64%)
HSVhsv(253, 64%, 94%)
CMYKcmyk(49.8%, 63.6%, 0%, 6.3%)
CIE-LABlab(48.31, 50.38, -72.20)
CIE-LCHlch(48.31, 88.04, 304.91°)
OKLaboklab(57.59% 0.0654 -0.207)
OKLCHoklch(57.59% 0.217 287.5)
XYZxyz(26.7293, 17.0402, 83.5253)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857EF #CEEF57
analogous
#5782EF #7857EF #C457EF
triadic
#7857EF #EF7857 #57EF78
tetradic
#7857EF #EF5782 #CEEF57 #57EFC4
square
#7857EF #EF5782 #CEEF57 #57EFC4
split-complementary
#7857EF #EFC457 #82EF57
monochromatic
#3612BA #4B1FEA #7857EF #A58FF4 #D2C7FA

Accessibility & contrast

On white

4.76
#7857EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7857EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857EF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857EF#FFFFFF#000000##FFFFFF
##7857EF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#4D7C9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7857ef;
/* rgb */ color: rgb(120, 87, 239);
/* oklch */ color: oklch(57.6% 0.217 287.5);
Tailwind
colors: {
  custom: {
    50: '#a888f5',
    500: '#7857ef',
    950: '#000000',
  },
}
SCSS
$custom: #7857ef;
$custom-light: #a888f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7857ef",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 253.026,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.21706,
    "h": 287.5
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#7857EF
secondary
#E0ECB6
accent
#DF06B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7857EF

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

Preview Lab → · Contrast checker → · Palette generator →

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