#7858D8#7858D8

#7858D8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.188 H 290.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7858D8
RGBrgb(120, 88, 216)
HSLhsl(255, 62%, 60%)
HSVhsv(255, 59%, 85%)
CMYKcmyk(44.4%, 59.3%, 0%, 15.3%)
CIE-LABlab(46.88, 43.34, -61.51)
CIE-LCHlch(46.88, 75.25, 305.17°)
OKLaboklab(56.03% 0.0659 -0.1756)
OKLCHoklch(56.03% 0.188 290.6)
XYZxyz(23.6267, 15.9296, 66.7823)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858D8 #B8D858
analogous
#5878D8 #7858D8 #B858D8
triadic
#7858D8 #D87858 #58D878
tetradic
#7858D8 #D85878 #B8D858 #58D8B8
square
#7858D8 #D85878 #B8D858 #58D8B8
split-complementary
#7858D8 #D8B858 #78D858
monochromatic
#3F2293 #542EC5 #7858D8 #A08AE4 #C8BBEF

Accessibility & contrast

On white

5.02
#7858D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7858D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858D8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858D8#FFFFFF#000000##FFFFFF
##7858D81.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#5B7590
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7858d8;
/* rgb */ color: rgb(120, 88, 216);
/* oklch */ color: oklch(56.0% 0.188 290.6);
Tailwind
colors: {
  custom: {
    50: '#a588e5',
    500: '#7858d8',
    950: '#000000',
  },
}
SCSS
$custom: #7858d8;
$custom-light: #a588e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7858d8",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 255,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56034,
    "c": 0.18751,
    "h": 290.6
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#7858D8
secondary
#D2DFAD
accent
#E543BD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7858D8

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

Preview Lab → · Contrast checker → · Palette generator →

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