#7855DB#7855DB

#7855DB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.195 H 290.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7855DB
RGBrgb(120, 85, 219)
HSLhsl(256, 65%, 60%)
HSVhsv(256, 61%, 86%)
CMYKcmyk(45.2%, 61.2%, 0%, 14.1%)
CIE-LABlab(46.45, 45.86, -63.92)
CIE-LCHlch(46.45, 78.67, 305.66°)
OKLaboklab(55.79% 0.069 -0.1826)
OKLCHoklch(55.79% 0.195 290.7)
XYZxyz(23.7768, 15.6037, 68.7631)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855DB #B8DB55
analogous
#5575DB #7855DB #BB55DB
triadic
#7855DB #DB7855 #55DB78
tetradic
#7855DB #DB5575 #B8DB55 #55DBBB
square
#7855DB #DB5575 #B8DB55 #55DBBB
split-complementary
#7855DB #DBBB55 #75DB55
monochromatic
#3F2096 #542AC8 #7855DB #A088E6 #C8BAF0

Accessibility & contrast

On white

5.10
#7855DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7855DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855DB#FFFFFF#000000##FFFFFF
##7855DB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#5A7490
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7855db;
/* rgb */ color: rgb(120, 85, 219);
/* oklch */ color: oklch(55.8% 0.195 290.7);
Tailwind
colors: {
  custom: {
    50: '#a686e7',
    500: '#7855db',
    950: '#000000',
  },
}
SCSS
$custom: #7855db;
$custom-light: #a686e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7855db",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 255.672,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.19524,
    "h": 290.7
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#7855DB
secondary
#D2E0AC
accent
#E840BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7855DB

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

Preview Lab → · Contrast checker → · Palette generator →

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