#7855CD#7855CD

#7855CD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.178 H 293.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7855CD
RGBrgb(120, 85, 205)
HSLhsl(258, 55%, 57%)
HSVhsv(258, 59%, 80%)
CMYKcmyk(41.5%, 58.5%, 0%, 19.6%)
CIE-LABlab(45.49, 41.99, -57.45)
CIE-LCHlch(45.49, 71.16, 306.16°)
OKLaboklab(54.78% 0.0696 -0.1636)
OKLCHoklch(54.78% 0.178 293.1)
XYZxyz(22.0107, 14.8973, 59.4615)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855CD #AACD55
analogous
#556ECD #7855CD #B455CD
triadic
#7855CD #CD7855 #55CD78
tetradic
#7855CD #CD556E #AACD55 #55CDB4
square
#7855CD #CD556E #AACD55 #55CDB4
split-complementary
#7855CD #CDB455 #6ECD55
monochromatic
#412682 #5834B1 #7855CD #9E84DB #C3B4E9

Accessibility & contrast

On white

5.28
#7855CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7855CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855CD#FFFFFF#000000##FFFFFF
##7855CD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#1669CA
Tritanopia (blue-blind)
#616F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7855cd;
/* rgb */ color: rgb(120, 85, 205);
/* oklch */ color: oklch(54.8% 0.178 293.1);
Tailwind
colors: {
  custom: {
    50: '#a486dd',
    500: '#7855cd',
    950: '#000000',
  },
}
SCSS
$custom: #7855cd;
$custom-light: #a486dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7855cd",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 257.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.17782,
    "h": 293.1
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#7855CD
secondary
#C9D7A6
accent
#DE4AB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7855CD

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

Preview Lab → · Contrast checker → · Palette generator →

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