#7855CF#7855CF

#7855CF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.180 H 292.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7855CF
RGBrgb(120, 85, 207)
HSLhsl(257, 56%, 57%)
HSVhsv(257, 59%, 81%)
CMYKcmyk(42%, 58.9%, 0%, 18.8%)
CIE-LABlab(45.63, 42.54, -58.39)
CIE-LCHlch(45.63, 72.24, 306.08°)
OKLaboklab(54.92% 0.0696 -0.1664)
OKLCHoklch(54.92% 0.18 292.7)
XYZxyz(22.2537, 14.9944, 60.7411)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855CF #ACCF55
analogous
#556FCF #7855CF #B555CF
triadic
#7855CF #CF7855 #55CF78
tetradic
#7855CF #CF556F #ACCF55 #55CFB5
square
#7855CF #CF556F #ACCF55 #55CFB5
split-complementary
#7855CF #CFB555 #6FCF55
monochromatic
#412584 #5833B4 #7855CF #9E85DC #C4B4EA

Accessibility & contrast

On white

5.25
#7855CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7855CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855CF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855CF#FFFFFF#000000##FFFFFF
##7855CF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0F6ACC
Tritanopia (blue-blind)
#60708A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7855cf;
/* rgb */ color: rgb(120, 85, 207);
/* oklch */ color: oklch(54.9% 0.180 292.7);
Tailwind
colors: {
  custom: {
    50: '#a586de',
    500: '#7855cf',
    950: '#000000',
  },
}
SCSS
$custom: #7855cf;
$custom-light: #a586de;
$custom-dark: #000000;
JSON
{
  "hex": "#7855cf",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 257.213,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.18034,
    "h": 292.7
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#7855CF
secondary
#CAD9A7
accent
#DF49B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7855CF

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

Preview Lab → · Contrast checker → · Palette generator →

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