#7857FC#7857FC

#7857FC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.233 H 285.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7857FC
RGBrgb(120, 87, 252)
HSLhsl(252, 96%, 66%)
HSVhsv(252, 65%, 99%)
CMYKcmyk(52.4%, 65.5%, 0%, 1.2%)
CIE-LABlab(49.30, 54.07, -77.86)
CIE-LCHlch(49.30, 94.79, 304.78°)
OKLaboklab(58.61% 0.0639 -0.2236)
OKLCHoklch(58.61% 0.233 285.9)
XYZxyz(28.7194, 17.8362, 94.0060)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857FC #DBFC57
analogous
#5789FC #7857FC #CB57FC
triadic
#7857FC #FC7857 #57FC78
tetradic
#7857FC #FC5789 #DBFC57 #57FCCB
square
#7857FC #FC5789 #DBFC57 #57FCCB
split-complementary
#7857FC #FCCB57 #89FC57
monochromatic
#2E04D5 #481BFB #7857FC #A893FD #D9CFFE

Accessibility & contrast

On white

4.60
#7857FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7857FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7857FC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857FC#FFFFFF#000000##FFFFFF
##7857FC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0070F9
Tritanopia (blue-blind)
#4280A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7857fc;
/* rgb */ color: rgb(120, 87, 252);
/* oklch */ color: oklch(58.6% 0.233 285.9);
Tailwind
colors: {
  custom: {
    50: '#aa88fe',
    500: '#7857fc',
    950: '#000000',
  },
}
SCSS
$custom: #7857fc;
$custom-light: #aa88fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7857fc",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 252,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.23255,
    "h": 285.9
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#7857FC
secondary
#E7F2BD
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7857FC

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

Preview Lab → · Contrast checker → · Palette generator →

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