#7858CF#7858CF

#7858CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.176 H 292.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7858CF
RGBrgb(120, 88, 207)
HSLhsl(256, 55%, 58%)
HSVhsv(256, 57%, 81%)
CMYKcmyk(42%, 57.5%, 0%, 18.8%)
CIE-LABlab(46.28, 40.83, -57.33)
CIE-LCHlch(46.28, 70.39, 305.46°)
OKLaboklab(55.4% 0.0661 -0.1633)
OKLCHoklch(55.4% 0.176 292)
XYZxyz(22.4949, 15.4769, 60.8215)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858CF #AFCF58
analogous
#5874CF #7858CF #B358CF
triadic
#7858CF #CF7858 #58CF78
tetradic
#7858CF #CF5874 #AFCF58 #58CFB3
square
#7858CF #CF5874 #AFCF58 #58CFB3
split-complementary
#7858CF #CFB358 #74CF58
monochromatic
#402786 #5734B6 #7858CF #9E88DD #C5B7EA

Accessibility & contrast

On white

5.13
#7858CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7858CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858CF#FFFFFF#000000##FFFFFF
##7858CF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD3
Deuteranopia (green-blind)
#1B6BCC
Tritanopia (blue-blind)
#60728B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7858cf;
/* rgb */ color: rgb(120, 88, 207);
/* oklch */ color: oklch(55.4% 0.176 292.0);
Tailwind
colors: {
  custom: {
    50: '#a488de',
    500: '#7858cf',
    950: '#000000',
  },
}
SCSS
$custom: #7858cf;
$custom-light: #a488de;
$custom-dark: #000000;
JSON
{
  "hex": "#7858cf",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 256.134,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.17614,
    "h": 292
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#7858CF
secondary
#CCD9AA
accent
#DF49B6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7858CF

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

Preview Lab → · Contrast checker → · Palette generator →

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