#7855DD#7855DD

#7855DD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.198 H 290.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7855DD
RGBrgb(120, 85, 221)
HSLhsl(255, 67%, 60%)
HSVhsv(255, 62%, 87%)
CMYKcmyk(45.7%, 61.5%, 0%, 13.3%)
CIE-LABlab(46.59, 46.42, -64.83)
CIE-LCHlch(46.59, 79.73, 305.61°)
OKLaboklab(55.93% 0.0689 -0.1853)
OKLCHoklch(55.93% 0.198 290.4)
XYZxyz(24.0417, 15.7097, 70.1581)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855DD #BADD55
analogous
#5576DD #7855DD #BC55DD
triadic
#7855DD #DD7855 #55DD78
tetradic
#7855DD #DD5576 #BADD55 #55DDBC
square
#7855DD #DD5576 #BADD55 #55DDBC
split-complementary
#7855DD #DDBC55 #76DD55
monochromatic
#3E1F99 #5329CC #7855DD #A088E7 #C9BBF1

Accessibility & contrast

On white

5.07
#7855DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7855DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855DD#FFFFFF#000000##FFFFFF
##7855DD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#597591
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7855dd;
/* rgb */ color: rgb(120, 85, 221);
/* oklch */ color: oklch(55.9% 0.198 290.4);
Tailwind
colors: {
  custom: {
    50: '#a686e8',
    500: '#7855dd',
    950: '#000000',
  },
}
SCSS
$custom: #7855dd;
$custom-light: #a686e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7855dd",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 255.441,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.19771,
    "h": 290.4
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#7855DD
secondary
#D4E1AD
accent
#EA3EBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7855DD

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

Preview Lab → · Contrast checker → · Palette generator →

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