#7858E8#7858E8

#7858E8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.207 H 288.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7858E8
RGBrgb(120, 88, 232)
HSLhsl(253, 76%, 63%)
HSVhsv(253, 62%, 91%)
CMYKcmyk(48.3%, 62.1%, 0%, 9%)
CIE-LABlab(48.00, 47.85, -68.76)
CIE-LCHlch(48.00, 83.77, 304.83°)
OKLaboklab(57.21% 0.065 -0.1969)
OKLCHoklch(57.21% 0.207 288.3)
XYZxyz(25.7967, 16.7976, 78.2113)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858E8 #C8E858
analogous
#5880E8 #7858E8 #C058E8
triadic
#7858E8 #E87858 #58E878
tetradic
#7858E8 #E85880 #C8E858 #58E8C0
square
#7858E8 #E85880 #C8E858 #58E8C0
split-complementary
#7858E8 #E8C058 #80E858
monochromatic
#3918AE #4D22E1 #7858E8 #A38EEF #CFC4F7

Accessibility & contrast

On white

4.82
#7858E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7858E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858E8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858E8#FFFFFF#000000##FFFFFF
##7858E81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#527A98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7858e8;
/* rgb */ color: rgb(120, 88, 232);
/* oklch */ color: oklch(57.2% 0.207 288.3);
Tailwind
colors: {
  custom: {
    50: '#a789f0',
    500: '#7858e8',
    950: '#000000',
  },
}
SCSS
$custom: #7858e8;
$custom-light: #a789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7858e8",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 253.333,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.20733,
    "h": 288.3
  },
  "luminance": 0.16799
}

Semantic roles & 50–950 ramp

primary
#7858E8
secondary
#DCE8B4
accent
#D80EAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7858E8

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

Preview Lab → · Contrast checker → · Palette generator →

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