#7855E6#7855E6

#7855E6 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.6% C 0.209 H 289.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7855E6
RGBrgb(120, 85, 230)
HSLhsl(254, 74%, 62%)
HSVhsv(254, 63%, 90%)
CMYKcmyk(47.8%, 63%, 0%, 9.8%)
CIE-LABlab(47.24, 48.94, -68.88)
CIE-LCHlch(47.24, 84.50, 305.40°)
OKLaboklab(56.61% 0.0682 -0.1972)
OKLCHoklch(56.61% 0.209 289.1)
XYZxyz(25.2731, 16.2022, 76.6433)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855E6 #C3E655
analogous
#557BE6 #7855E6 #C155E6
triadic
#7855E6 #E67855 #55E678
tetradic
#7855E6 #E6557B #C3E655 #55E6C1
square
#7855E6 #E6557B #C3E655 #55E6C1
split-complementary
#7855E6 #E6C155 #7BE655
monochromatic
#3B19A8 #4E21DD #7855E6 #A28AEE #CDC0F6

Accessibility & contrast

On white

4.95
#7855E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7855E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855E6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855E6#FFFFFF#000000##FFFFFF
##7855E61.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#537896
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7855e6;
/* rgb */ color: rgb(120, 85, 230);
/* oklch */ color: oklch(56.6% 0.209 289.1);
Tailwind
colors: {
  custom: {
    50: '#a787ef',
    500: '#7855e6',
    950: '#000000',
  },
}
SCSS
$custom: #7855e6;
$custom-light: #a787ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7855e6",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 254.483,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.20867,
    "h": 289.1
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#7855E6
secondary
#D9E6B1
accent
#D60FA6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7855E6

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

Preview Lab → · Contrast checker → · Palette generator →

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