#7858E9#7858E9

#7858E9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.209 H 288.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7858E9
RGBrgb(120, 88, 233)
HSLhsl(253, 77%, 63%)
HSVhsv(253, 62%, 91%)
CMYKcmyk(48.5%, 62.2%, 0%, 8.6%)
CIE-LABlab(48.08, 48.13, -69.21)
CIE-LCHlch(48.08, 84.30, 304.82°)
OKLaboklab(57.28% 0.0649 -0.1982)
OKLCHoklch(57.28% 0.209 288.1)
XYZxyz(25.9392, 16.8546, 78.9615)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858E9 #C9E958
analogous
#5881E9 #7858E9 #C058E9
triadic
#7858E9 #E97858 #58E978
tetradic
#7858E9 #E95881 #C9E958 #58E9C0
square
#7858E9 #E95881 #C9E958 #58E9C0
split-complementary
#7858E9 #E9C058 #81E958
monochromatic
#3917AF #4C22E2 #7858E9 #A48EF0 #CFC4F7

Accessibility & contrast

On white

4.80
#7858E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7858E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858E9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858E9#FFFFFF#000000##FFFFFF
##7858E91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7858e9;
/* rgb */ color: rgb(120, 88, 233);
/* oklch */ color: oklch(57.3% 0.209 288.1);
Tailwind
colors: {
  custom: {
    50: '#a789f1',
    500: '#7858e9',
    950: '#000000',
  },
}
SCSS
$custom: #7858e9;
$custom-light: #a789f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7858e9",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 253.241,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.20855,
    "h": 288.1
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#7858E9
secondary
#DDE8B4
accent
#D90DAC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7858E9

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

Preview Lab → · Contrast checker → · Palette generator →

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