#7858E5#7858E5

#7858E5 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.0% C 0.204 H 288.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7858E5
RGBrgb(120, 88, 229)
HSLhsl(254, 73%, 62%)
HSVhsv(254, 62%, 90%)
CMYKcmyk(47.6%, 61.6%, 0%, 10.2%)
CIE-LABlab(47.79, 47.00, -67.42)
CIE-LCHlch(47.79, 82.18, 304.88°)
OKLaboklab(56.98% 0.0652 -0.1929)
OKLCHoklch(56.98% 0.204 288.7)
XYZxyz(25.3742, 16.6286, 75.9862)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858E5 #C5E558
analogous
#587FE5 #7858E5 #BF58E5
triadic
#7858E5 #E57858 #58E578
tetradic
#7858E5 #E5587F #C5E558 #58E5BF
square
#7858E5 #E5587F #C5E558 #58E5BF
split-complementary
#7858E5 #E5BF58 #7FE558
monochromatic
#3A1AA8 #4D23DD #7858E5 #A38DED #CEC2F5

Accessibility & contrast

On white

4.85
#7858E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7858E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858E5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858E5#FFFFFF#000000##FFFFFF
##7858E51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#547996
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7858e5;
/* rgb */ color: rgb(120, 88, 229);
/* oklch */ color: oklch(57.0% 0.204 288.7);
Tailwind
colors: {
  custom: {
    50: '#a789ee',
    500: '#7858e5',
    950: '#000000',
  },
}
SCSS
$custom: #7858e5;
$custom-light: #a789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7858e5",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 253.617,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.20365,
    "h": 288.7
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#7858E5
secondary
#DBE6B3
accent
#D510A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7858E5

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

Preview Lab → · Contrast checker → · Palette generator →

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