#7857FD#7857FD

#7857FD is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.234 H 285.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7857FD
RGBrgb(120, 87, 253)
HSLhsl(252, 98%, 67%)
HSVhsv(252, 66%, 99%)
CMYKcmyk(52.6%, 65.6%, 0%, 0.8%)
CIE-LABlab(49.37, 54.35, -78.29)
CIE-LCHlch(49.37, 95.31, 304.77°)
OKLaboklab(58.69% 0.0637 -0.2249)
OKLCHoklch(58.69% 0.234 285.8)
XYZxyz(28.8782, 17.8998, 94.8428)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857FD #DCFD57
analogous
#5789FD #7857FD #CB57FD
triadic
#7857FD #FD7857 #57FD78
tetradic
#7857FD #FD5789 #DCFD57 #57FDCB
square
#7857FD #FD5789 #DCFD57 #57FDCB
split-complementary
#7857FD #FDCB57 #89FD57
monochromatic
#2D03D7 #471BFC #7857FD #A993FE #D9D0FE

Accessibility & contrast

On white

4.58
#7857FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7857FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7857FD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857FD#FFFFFF#000000##000000
##7857FD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#4181A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7857fd;
/* rgb */ color: rgb(120, 87, 253);
/* oklch */ color: oklch(58.7% 0.234 285.8);
Tailwind
colors: {
  custom: {
    50: '#aa88ff',
    500: '#7857fd',
    950: '#000000',
  },
}
SCSS
$custom: #7857fd;
$custom-light: #aa88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7857fd",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 251.928,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.23374,
    "h": 285.8
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#7857FD
secondary
#E8F3BD
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7857FD

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

Preview Lab → · Contrast checker → · Palette generator →

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