#7857EA#7857EA

#7857EA is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.211 H 288.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7857EA
RGBrgb(120, 87, 234)
HSLhsl(253, 78%, 63%)
HSVhsv(253, 63%, 92%)
CMYKcmyk(48.7%, 62.8%, 0%, 8.2%)
CIE-LABlab(47.94, 48.97, -69.99)
CIE-LCHlch(47.94, 85.42, 304.98°)
OKLaboklab(57.21% 0.0658 -0.2005)
OKLCHoklch(57.21% 0.211 288.2)
XYZxyz(26.0009, 16.7488, 79.6888)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857EA #C9EA57
analogous
#5780EA #7857EA #C157EA
triadic
#7857EA #EA7857 #57EA78
tetradic
#7857EA #EA5780 #C9EA57 #57EAC1
square
#7857EA #EA5780 #C9EA57 #57EAC1
split-complementary
#7857EA #EAC157 #80EA57
monochromatic
#3916B1 #4C21E3 #7857EA #A48DF1 #CFC4F8

Accessibility & contrast

On white

4.83
#7857EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7857EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857EA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857EA#FFFFFF#000000##FFFFFF
##7857EA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#517A99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7857ea;
/* rgb */ color: rgb(120, 87, 234);
/* oklch */ color: oklch(57.2% 0.211 288.2);
Tailwind
colors: {
  custom: {
    50: '#a788f2',
    500: '#7857ea',
    950: '#000000',
  },
}
SCSS
$custom: #7857ea;
$custom-light: #a788f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7857ea",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 253.469,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.21102,
    "h": 288.2
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#7857EA
secondary
#DDE9B4
accent
#DA0BAC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7857EA

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

Preview Lab → · Contrast checker → · Palette generator →

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