#7855EC#7855EC

#7855EC is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.216 H 288.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7855EC
RGBrgb(120, 85, 236)
HSLhsl(254, 80%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(49.2%, 64%, 0%, 7.5%)
CIE-LABlab(47.68, 50.63, -71.54)
CIE-LCHlch(47.68, 87.64, 305.29°)
OKLaboklab(57.07% 0.0676 -0.205)
OKLCHoklch(57.07% 0.216 288.2)
XYZxyz(26.1302, 16.5450, 81.1573)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855EC #C9EC55
analogous
#557EEC #7855EC #C355EC
triadic
#7855EC #EC7855 #55EC78
tetradic
#7855EC #EC557E #C9EC55 #55ECC3
square
#7855EC #EC557E #C9EC55 #55ECC3
split-complementary
#7855EC #ECC355 #7EEC55
monochromatic
#3914B3 #4C1EE6 #7855EC #A48CF2 #CFC3F8

Accessibility & contrast

On white

4.87
#7855EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7855EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855EC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855EC#FFFFFF#000000##FFFFFF
##7855EC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#4F7A99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7855ec;
/* rgb */ color: rgb(120, 85, 236);
/* oklch */ color: oklch(57.1% 0.216 288.2);
Tailwind
colors: {
  custom: {
    50: '#a887f3',
    500: '#7855ec',
    950: '#000000',
  },
}
SCSS
$custom: #7855ec;
$custom-light: #a887f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7855ec",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 253.907,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.2159,
    "h": 288.2
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#7855EC
secondary
#DDEAB3
accent
#DC09AB
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7855EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7855EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva