#7856ED#7856ED

#7856ED is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.216 H 287.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7856ED
RGBrgb(120, 86, 237)
HSLhsl(254, 81%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(49.4%, 63.7%, 0%, 7.1%)
CIE-LABlab(47.96, 50.36, -71.65)
CIE-LCHlch(47.96, 87.58, 305.10°)
OKLaboklab(57.29% 0.0665 -0.2054)
OKLCHoklch(57.29% 0.216 287.9)
XYZxyz(26.3551, 16.7619, 81.9510)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7856ED #CBED56
analogous
#567FED #7856ED #C356ED
triadic
#7856ED #ED7856 #56ED78
tetradic
#7856ED #ED567F #CBED56 #56EDC3
square
#7856ED #ED567F #CBED56 #56EDC3
split-complementary
#7856ED #EDC356 #7FED56
monochromatic
#3813B5 #4C1FE7 #7856ED #A48DF3 #D0C5F9

Accessibility & contrast

On white

4.82
#7856ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7856ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7856ED
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7856ED#FFFFFF#000000##FFFFFF
##7856ED1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#4F7B9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7856ed;
/* rgb */ color: rgb(120, 86, 237);
/* oklch */ color: oklch(57.3% 0.216 287.9);
Tailwind
colors: {
  custom: {
    50: '#a887f4',
    500: '#7856ed',
    950: '#000000',
  },
}
SCSS
$custom: #7856ed;
$custom-light: #a887f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7856ed",
  "rgb": {
    "r": 120,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 253.51,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5729,
    "c": 0.21587,
    "h": 287.9
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#7856ED
secondary
#DEEAB4
accent
#DD08AD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7856ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7856ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva