#7858C8#7858C8

#7858C8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.167 H 293.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7858C8
RGBrgb(120, 88, 200)
HSLhsl(257, 50%, 56%)
HSVhsv(257, 56%, 78%)
CMYKcmyk(40%, 56%, 0%, 21.6%)
CIE-LABlab(45.83, 38.90, -54.03)
CIE-LCHlch(45.83, 66.58, 305.75°)
OKLaboklab(54.92% 0.0661 -0.1536)
OKLCHoklch(54.92% 0.167 293.3)
XYZxyz(21.6580, 15.1421, 56.4140)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858C8 #A8C858
analogous
#5870C8 #7858C8 #B058C8
triadic
#7858C8 #C87858 #58C878
tetradic
#7858C8 #C85870 #A8C858 #58C8B0
square
#7858C8 #C85870 #A8C858 #58C8B0
split-complementary
#7858C8 #C8B058 #70C858
monochromatic
#41297D #5938AB #7858C8 #9D86D7 #C2B4E6

Accessibility & contrast

On white

5.21
#7858C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7858C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858C8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858C8#FFFFFF#000000##FFFFFF
##7858C81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#286BC6
Tritanopia (blue-blind)
#637087
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7858c8;
/* rgb */ color: rgb(120, 88, 200);
/* oklch */ color: oklch(54.9% 0.167 293.3);
Tailwind
colors: {
  custom: {
    50: '#a488d9',
    500: '#7858c8',
    950: '#000000',
  },
}
SCSS
$custom: #7858c8;
$custom-light: #a488d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7858c8",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 257.143,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.16718,
    "h": 293.3
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#7858C8
secondary
#C8D5A7
accent
#DA4EB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7858C8

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

Preview Lab → · Contrast checker → · Palette generator →

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