#7857ED#7857ED

#7857ED is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.215 H 287.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7857ED
RGBrgb(120, 87, 237)
HSLhsl(253, 81%, 64%)
HSVhsv(253, 63%, 93%)
CMYKcmyk(49.4%, 63.3%, 0%, 7.1%)
CIE-LABlab(48.16, 49.81, -71.32)
CIE-LCHlch(48.16, 87.00, 304.93°)
OKLaboklab(57.44% 0.0656 -0.2044)
OKLCHoklch(57.44% 0.215 287.8)
XYZxyz(26.4355, 16.9227, 81.9778)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857ED #CCED57
analogous
#5781ED #7857ED #C357ED
triadic
#7857ED #ED7857 #57ED78
tetradic
#7857ED #ED5781 #CCED57 #57EDC3
square
#7857ED #ED5781 #CCED57 #57EDC3
split-complementary
#7857ED #EDC357 #81ED57
monochromatic
#3714B6 #4C20E7 #7857ED #A48EF3 #D1C6F9

Accessibility & contrast

On white

4.79
#7857ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7857ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857ED
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857ED#FFFFFF#000000##FFFFFF
##7857ED1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#4E7B9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7857ed;
/* rgb */ color: rgb(120, 87, 237);
/* oklch */ color: oklch(57.4% 0.215 287.8);
Tailwind
colors: {
  custom: {
    50: '#a888f4',
    500: '#7857ed',
    950: '#000000',
  },
}
SCSS
$custom: #7857ed;
$custom-light: #a888f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7857ed",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 253.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.21465,
    "h": 287.8
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#7857ED
secondary
#DFEAB5
accent
#DD09AE
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7857ED

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

Preview Lab → · Contrast checker → · Palette generator →

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