#7855DE#7855DE

#7855DE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.199 H 290.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7855DE
RGBrgb(120, 85, 222)
HSLhsl(255, 67%, 60%)
HSVhsv(255, 62%, 87%)
CMYKcmyk(45.9%, 61.7%, 0%, 12.9%)
CIE-LABlab(46.66, 46.70, -65.28)
CIE-LCHlch(46.66, 80.27, 305.58°)
OKLaboklab(56.01% 0.0688 -0.1866)
OKLCHoklch(56.01% 0.199 290.2)
XYZxyz(24.1753, 15.7631, 70.8619)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855DE #BBDE55
analogous
#5577DE #7855DE #BC55DE
triadic
#7855DE #DE7855 #55DE78
tetradic
#7855DE #DE5577 #BBDE55 #55DEBC
square
#7855DE #DE5577 #BBDE55 #55DEBC
split-complementary
#7855DE #DEBC55 #77DE55
monochromatic
#3E1E9B #5228CE #7855DE #A188E8 #C9BCF2

Accessibility & contrast

On white

5.06
#7855DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7855DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855DE#FFFFFF#000000##FFFFFF
##7855DE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#587592
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7855de;
/* rgb */ color: rgb(120, 85, 222);
/* oklch */ color: oklch(56.0% 0.199 290.2);
Tailwind
colors: {
  custom: {
    50: '#a686e9',
    500: '#7855de',
    950: '#000000',
  },
}
SCSS
$custom: #7855de;
$custom-light: #a686e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7855de",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 255.328,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.19893,
    "h": 290.2
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#7855DE
secondary
#D4E2AD
accent
#CF16A0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7855DE

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

Preview Lab → · Contrast checker → · Palette generator →

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