#7859F2#7859F2

#7859F2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.218 H 286.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7859F2
RGBrgb(120, 89, 242)
HSLhsl(252, 85%, 65%)
HSVhsv(252, 63%, 95%)
CMYKcmyk(50.4%, 63.2%, 0%, 5.1%)
CIE-LABlab(48.94, 50.14, -72.86)
CIE-LCHlch(48.94, 88.44, 304.53°)
OKLaboklab(58.12% 0.0631 -0.2089)
OKLCHoklch(58.12% 0.218 286.8)
XYZxyz(27.3404, 17.5473, 85.9335)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859F2 #D3F259
analogous
#5986F2 #7859F2 #C559F2
triadic
#7859F2 #F27859 #59F278
tetradic
#7859F2 #F25986 #D3F259 #59F2C5
square
#7859F2 #F25986 #D3F259 #59F2C5
split-complementary
#7859F2 #F2C559 #86F259
monochromatic
#330FC1 #4A20EE #7859F2 #A692F6 #D4CBFB

Accessibility & contrast

On white

4.66
#7859F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7859F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7859F2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859F2#FFFFFF#000000##FFFFFF
##7859F21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#4A7E9E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7859f2;
/* rgb */ color: rgb(120, 89, 242);
/* oklch */ color: oklch(58.1% 0.218 286.8);
Tailwind
colors: {
  custom: {
    50: '#a889f7',
    500: '#7859f2',
    950: '#000000',
  },
}
SCSS
$custom: #7859f2;
$custom-light: #a889f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7859f2",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 252.157,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.21824,
    "h": 286.8
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#7859F2
secondary
#E3EDB9
accent
#E204B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7859F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7859F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva