#7858FC#7858FC

#7858FC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.231 H 285.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7858FC
RGBrgb(120, 88, 252)
HSLhsl(252, 96%, 67%)
HSVhsv(252, 65%, 99%)
CMYKcmyk(52.4%, 65.1%, 0%, 1.2%)
CIE-LABlab(49.50, 53.53, -77.54)
CIE-LCHlch(49.50, 94.22, 304.62°)
OKLaboklab(58.76% 0.063 -0.2227)
OKLCHoklch(58.76% 0.231 285.8)
XYZxyz(28.8009, 17.9993, 94.0332)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858FC #DCFC58
analogous
#588AFC #7858FC #CA58FC
triadic
#7858FC #FC7858 #58FC78
tetradic
#7858FC #FC588A #DCFC58 #58FCCA
square
#7858FC #FC588A #DCFC58 #58FCCA
split-complementary
#7858FC #FCCA58 #8AFC58
monochromatic
#2D04D6 #471CFB #7858FC #A994FD #D9D0FE

Accessibility & contrast

On white

4.57
#7858FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7858FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7858FC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858FC#FFFFFF#000000##000000
##7858FC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#4281A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7858fc;
/* rgb */ color: rgb(120, 88, 252);
/* oklch */ color: oklch(58.8% 0.231 285.8);
Tailwind
colors: {
  custom: {
    50: '#aa89fe',
    500: '#7858fc',
    950: '#000000',
  },
}
SCSS
$custom: #7858fc;
$custom-light: #aa89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7858fc",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 252
  },
  "hsl": {
    "h": 251.707,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.23139,
    "h": 285.8
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#7858FC
secondary
#E8F2BD
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7858FC

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

Preview Lab → · Contrast checker → · Palette generator →

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