#7857F0#7857F0

#7857F0 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.218 H 287.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7857F0
RGBrgb(120, 87, 240)
HSLhsl(253, 84%, 64%)
HSVhsv(253, 64%, 94%)
CMYKcmyk(50%, 63.7%, 0%, 5.9%)
CIE-LABlab(48.39, 50.66, -72.64)
CIE-LCHlch(48.39, 88.57, 304.89°)
OKLaboklab(57.67% 0.0653 -0.2083)
OKLCHoklch(57.67% 0.218 287.4)
XYZxyz(26.8775, 17.0995, 84.3055)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857F0 #CFF057
analogous
#5783F0 #7857F0 #C557F0
triadic
#7857F0 #F07857 #57F078
tetradic
#7857F0 #F05783 #CFF057 #57F0C5
square
#7857F0 #F05783 #CFF057 #57F0C5
split-complementary
#7857F0 #F0C557 #83F057
monochromatic
#3611BC #4B1FEB #7857F0 #A58FF5 #D2C7FA

Accessibility & contrast

On white

4.75
#7857F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7857F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857F0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857F0#FFFFFF#000000##FFFFFF
##7857F01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#006FED
Tritanopia (blue-blind)
#4C7C9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7857f0;
/* rgb */ color: rgb(120, 87, 240);
/* oklch */ color: oklch(57.7% 0.218 287.4);
Tailwind
colors: {
  custom: {
    50: '#a888f6',
    500: '#7857f0',
    950: '#000000',
  },
}
SCSS
$custom: #7857f0;
$custom-light: #a888f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7857f0",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 252.941,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.21826,
    "h": 287.4
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#7857F0
secondary
#E1ECB7
accent
#E005B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7857F0

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

Preview Lab → · Contrast checker → · Palette generator →

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