#7857CE#7857CE

#7857CE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.2% C 0.176 H 292.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7857CE
RGBrgb(120, 87, 206)
HSLhsl(257, 55%, 57%)
HSVhsv(257, 58%, 81%)
CMYKcmyk(41.7%, 57.8%, 0%, 19.2%)
CIE-LABlab(46.00, 41.12, -57.22)
CIE-LCHlch(46.00, 70.46, 305.71°)
OKLaboklab(55.17% 0.0673 -0.1629)
OKLCHoklch(55.17% 0.176 292.4)
XYZxyz(22.2915, 15.2651, 60.1525)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857CE #ADCE57
analogous
#5771CE #7857CE #B457CE
triadic
#7857CE #CE7857 #57CE78
tetradic
#7857CE #CE5771 #ADCE57 #57CEB4
square
#7857CE #CE5771 #ADCE57 #57CEB4
split-complementary
#7857CE #CEB457 #71CE57
monochromatic
#402784 #5834B3 #7857CE #9E86DC #C4B6EA

Accessibility & contrast

On white

5.18
#7857CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7857CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857CE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857CE#FFFFFF#000000##FFFFFF
##7857CE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086FD2
Deuteranopia (green-blind)
#1A6BCB
Tritanopia (blue-blind)
#60718A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7857ce;
/* rgb */ color: rgb(120, 87, 206);
/* oklch */ color: oklch(55.2% 0.176 292.4);
Tailwind
colors: {
  custom: {
    50: '#a487de',
    500: '#7857ce',
    950: '#000000',
  },
}
SCSS
$custom: #7857ce;
$custom-light: #a487de;
$custom-dark: #000000;
JSON
{
  "hex": "#7857ce",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 256.639,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.17627,
    "h": 292.4
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#7857CE
secondary
#CBD8A8
accent
#DE4AB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7857CE

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

Preview Lab → · Contrast checker → · Palette generator →

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