#7857FA#7857FA

#7857FA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.230 H 286.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7857FA
RGBrgb(120, 87, 250)
HSLhsl(252, 94%, 66%)
HSVhsv(252, 65%, 98%)
CMYKcmyk(52%, 65.2%, 0%, 2%)
CIE-LABlab(49.14, 53.50, -77.00)
CIE-LCHlch(49.14, 93.76, 304.79°)
OKLaboklab(58.45% 0.0641 -0.2211)
OKLCHoklch(58.45% 0.23 286.2)
XYZxyz(28.4041, 17.7101, 92.3457)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857FA #D9FA57
analogous
#5787FA #7857FA #C957FA
triadic
#7857FA #FA7857 #57FA78
tetradic
#7857FA #FA5787 #D9FA57 #57FAC9
square
#7857FA #FA5787 #D9FA57 #57FAC9
split-complementary
#7857FA #FAC957 #87FA57
monochromatic
#2F06D0 #481CF8 #7857FA #A892FC #D8CEFE

Accessibility & contrast

On white

4.62
#7857FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7857FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7857FA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857FA#FFFFFF#000000##FFFFFF
##7857FA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#4480A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7857fa;
/* rgb */ color: rgb(120, 87, 250);
/* oklch */ color: oklch(58.5% 0.230 286.2);
Tailwind
colors: {
  custom: {
    50: '#a988fd',
    500: '#7857fa',
    950: '#000000',
  },
}
SCSS
$custom: #7857fa;
$custom-light: #a988fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7857fa",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 252.147,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.23019,
    "h": 286.2
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#7857FA
secondary
#E6F1BC
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7857FA

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

Preview Lab → · Contrast checker → · Palette generator →

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