#7854FA#7854FA

#7854FA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.234 H 286.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7854FA
RGBrgb(120, 84, 250)
HSLhsl(253, 94%, 65%)
HSVhsv(253, 66%, 98%)
CMYKcmyk(52%, 66.4%, 0%, 2%)
CIE-LABlab(48.55, 55.10, -77.96)
CIE-LCHlch(48.55, 95.47, 305.25°)
OKLaboklab(58.03% 0.0668 -0.2239)
OKLCHoklch(58.03% 0.234 286.6)
XYZxyz(28.1662, 17.2344, 92.2664)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7854FA #D6FA54
analogous
#5483FA #7854FA #CB54FA
triadic
#7854FA #FA7854 #54FA78
tetradic
#7854FA #FA5483 #D6FA54 #54FACB
square
#7854FA #FA5483 #D6FA54 #54FACB
split-complementary
#7854FA #FACB54 #83FA54
monochromatic
#3106CE #4919F8 #7854FA #A78FFC #D6CBFD

Accessibility & contrast

On white

4.72
#7854FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7854FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7854FA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7854FA#FFFFFF#000000##FFFFFF
##7854FA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006FF7
Tritanopia (blue-blind)
#447EA0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7854fa;
/* rgb */ color: rgb(120, 84, 250);
/* oklch */ color: oklch(58.0% 0.234 286.6);
Tailwind
colors: {
  custom: {
    50: '#aa86fd',
    500: '#7854fa',
    950: '#000000',
  },
}
SCSS
$custom: #7854fa;
$custom-light: #aa86fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7854fa",
  "rgb": {
    "r": 120,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 253.012,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.23365,
    "h": 286.6
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#7854FA
secondary
#E5F1B9
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7854FA

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

Preview Lab → · Contrast checker → · Palette generator →

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