#7855DF#7855DF

#7855DF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.200 H 290.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7855DF
RGBrgb(120, 85, 223)
HSLhsl(255, 68%, 60%)
HSVhsv(255, 62%, 87%)
CMYKcmyk(46.2%, 61.9%, 0%, 12.5%)
CIE-LABlab(46.73, 46.98, -65.73)
CIE-LCHlch(46.73, 80.80, 305.55°)
OKLaboklab(56.08% 0.0688 -0.188)
OKLCHoklch(56.08% 0.2 290.1)
XYZxyz(24.3097, 15.8169, 71.5698)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855DF #BCDF55
analogous
#5577DF #7855DF #BD55DF
triadic
#7855DF #DF7855 #55DF78
tetradic
#7855DF #DF5577 #BCDF55 #55DFBD
square
#7855DF #DF5577 #BCDF55 #55DFBD
split-complementary
#7855DF #DFBD55 #77DF55
monochromatic
#3E1D9C #5227D0 #7855DF #A189E9 #CABCF2

Accessibility & contrast

On white

5.04
#7855DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7855DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855DF#FFFFFF#000000##FFFFFF
##7855DF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7855df;
/* rgb */ color: rgb(120, 85, 223);
/* oklch */ color: oklch(56.1% 0.200 290.1);
Tailwind
colors: {
  custom: {
    50: '#a686ea',
    500: '#7855df',
    950: '#000000',
  },
}
SCSS
$custom: #7855df;
$custom-light: #a686ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7855df",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 255.217,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.20015,
    "h": 290.1
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#7855DF
secondary
#D5E2AE
accent
#D015A1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7855DF

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

Preview Lab → · Contrast checker → · Palette generator →

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