#7858F3#7858F3

#7858F3 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.221 H 286.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7858F3
RGBrgb(120, 88, 243)
HSLhsl(252, 87%, 65%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(50.6%, 63.8%, 0%, 4.7%)
CIE-LABlab(48.81, 50.97, -73.63)
CIE-LCHlch(48.81, 89.55, 304.69°)
OKLaboklab(58.05% 0.064 -0.2112)
OKLCHoklch(58.05% 0.221 286.9)
XYZxyz(27.4083, 17.4422, 86.6991)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858F3 #D3F358
analogous
#5886F3 #7858F3 #C558F3
triadic
#7858F3 #F37858 #58F378
tetradic
#7858F3 #F35886 #D3F358 #58F3C5
square
#7858F3 #F35886 #D3F358 #58F3C5
split-complementary
#7858F3 #F3C558 #86F358
monochromatic
#330EC3 #4A1FEF #7858F3 #A691F7 #D4CAFB

Accessibility & contrast

On white

4.68
#7858F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7858F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858F3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858F3#FFFFFF#000000##FFFFFF
##7858F31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7858f3;
/* rgb */ color: rgb(120, 88, 243);
/* oklch */ color: oklch(58.0% 0.221 286.9);
Tailwind
colors: {
  custom: {
    50: '#a989f8',
    500: '#7858f3',
    950: '#000000',
  },
}
SCSS
$custom: #7858f3;
$custom-light: #a989f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7858f3",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 252.387,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.22066,
    "h": 286.9
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#7858F3
secondary
#E3EEB9
accent
#E302B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7858F3

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

Preview Lab → · Contrast checker → · Palette generator →

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