#7857E9#7857E9

#7857E9 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.1% C 0.210 H 288.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7857E9
RGBrgb(120, 87, 233)
HSLhsl(254, 77%, 63%)
HSVhsv(254, 63%, 91%)
CMYKcmyk(48.5%, 62.7%, 0%, 8.6%)
CIE-LABlab(47.87, 48.68, -69.55)
CIE-LCHlch(47.87, 84.89, 304.99°)
OKLaboklab(57.13% 0.0659 -0.1992)
OKLCHoklch(57.13% 0.21 288.3)
XYZxyz(25.8576, 16.6915, 78.9343)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857E9 #C8E957
analogous
#577FE9 #7857E9 #C157E9
triadic
#7857E9 #E97857 #57E978
tetradic
#7857E9 #E9577F #C8E957 #57E9C1
square
#7857E9 #E9577F #C8E957 #57E9C1
split-complementary
#7857E9 #E9C157 #7FE957
monochromatic
#3917AF #4D21E2 #7857E9 #A38DF0 #CFC3F7

Accessibility & contrast

On white

4.84
#7857E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7857E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857E9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857E9#FFFFFF#000000##FFFFFF
##7857E91.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#517A98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7857e9;
/* rgb */ color: rgb(120, 87, 233);
/* oklch */ color: oklch(57.1% 0.210 288.3);
Tailwind
colors: {
  custom: {
    50: '#a788f1',
    500: '#7857e9',
    950: '#000000',
  },
}
SCSS
$custom: #7857e9;
$custom-light: #a788f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7857e9",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 253.562,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.2098,
    "h": 288.3
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#7857E9
secondary
#DCE8B3
accent
#D90CAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7857E9

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

Preview Lab → · Contrast checker → · Palette generator →

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