#7858EA#7858EA

#7858EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.210 H 288.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7858EA
RGBrgb(120, 88, 234)
HSLhsl(253, 78%, 63%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.7%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.15, 48.41, -69.66)
CIE-LCHlch(48.15, 84.83, 304.80°)
OKLaboklab(57.36% 0.0648 -0.1995)
OKLCHoklch(57.36% 0.21 288)
XYZxyz(26.0824, 16.9119, 79.7160)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858EA #CAEA58
analogous
#5881EA #7858EA #C158EA
triadic
#7858EA #EA7858 #58EA78
tetradic
#7858EA #EA5881 #CAEA58 #58EAC1
square
#7858EA #EA5881 #CAEA58 #58EAC1
split-complementary
#7858EA #EAC158 #81EA58
monochromatic
#3816B1 #4C22E3 #7858EA #A48EF1 #D0C5F8

Accessibility & contrast

On white

4.79
#7858EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7858EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858EA#FFFFFF#000000##FFFFFF
##7858EA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#507B99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7858ea;
/* rgb */ color: rgb(120, 88, 234);
/* oklch */ color: oklch(57.4% 0.210 288.0);
Tailwind
colors: {
  custom: {
    50: '#a789f2',
    500: '#7858ea',
    950: '#000000',
  },
}
SCSS
$custom: #7858ea;
$custom-light: #a789f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7858ea",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 253.151,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.20977,
    "h": 288
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#7858EA
secondary
#DEE9B5
accent
#DA0CAD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7858EA

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

Preview Lab → · Contrast checker → · Palette generator →

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