#7858F7#7858F7

#7858F7 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.225 H 286.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7858F7
RGBrgb(120, 88, 247)
HSLhsl(252, 91%, 66%)
HSVhsv(252, 64%, 97%)
CMYKcmyk(51.4%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.11, 52.11, -75.37)
CIE-LCHlch(49.11, 91.63, 304.66°)
OKLaboklab(58.36% 0.0636 -0.2163)
OKLCHoklch(58.36% 0.225 286.4)
XYZxyz(28.0190, 17.6865, 89.9151)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858F7 #D7F758
analogous
#5888F7 #7858F7 #C758F7
triadic
#7858F7 #F77858 #58F778
tetradic
#7858F7 #F75888 #D7F758 #58F7C7
square
#7858F7 #F75888 #D7F758 #58F7C7
split-complementary
#7858F7 #F7C758 #88F758
monochromatic
#310ACB #491EF4 #7858F7 #A792FA #D6CDFD

Accessibility & contrast

On white

4.63
#7858F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7858F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7858F7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858F7#FFFFFF#000000##FFFFFF
##7858F71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#467FA0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7858f7;
/* rgb */ color: rgb(120, 88, 247);
/* oklch */ color: oklch(58.4% 0.225 286.4);
Tailwind
colors: {
  custom: {
    50: '#a989fb',
    500: '#7858f7',
    950: '#000000',
  },
}
SCSS
$custom: #7858f7;
$custom-light: #a989fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7858f7",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 252.075,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.22545,
    "h": 286.4
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#7858F7
secondary
#E5F0BB
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7858F7

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

Preview Lab → · Contrast checker → · Palette generator →

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