#7855EA#7855EA

#7855EA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.213 H 288.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7855EA
RGBrgb(120, 85, 234)
HSLhsl(254, 78%, 63%)
HSVhsv(254, 64%, 92%)
CMYKcmyk(48.7%, 63.7%, 0%, 8.2%)
CIE-LABlab(47.53, 50.06, -70.66)
CIE-LCHlch(47.53, 86.60, 305.32°)
OKLaboklab(56.91% 0.0678 -0.2024)
OKLCHoklch(56.91% 0.214 288.5)
XYZxyz(25.8412, 16.4295, 79.6356)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855EA #C7EA55
analogous
#557DEA #7855EA #C255EA
triadic
#7855EA #EA7855 #55EA78
tetradic
#7855EA #EA557D #C7EA55 #55EAC2
square
#7855EA #EA557D #C7EA55 #55EAC2
split-complementary
#7855EA #EAC255 #7DEA55
monochromatic
#3A16AF #4D1FE3 #7855EA #A38BF1 #CFC2F7

Accessibility & contrast

On white

4.90
#7855EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7855EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855EA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855EA#FFFFFF#000000##FFFFFF
##7855EA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#517998
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7855ea;
/* rgb */ color: rgb(120, 85, 234);
/* oklch */ color: oklch(56.9% 0.213 288.5);
Tailwind
colors: {
  custom: {
    50: '#a887f2',
    500: '#7855ea',
    950: '#000000',
  },
}
SCSS
$custom: #7855ea;
$custom-light: #a887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7855ea",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 254.094,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.2135,
    "h": 288.5
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#7855EA
secondary
#DCE8B2
accent
#DA0BAA
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7855EA

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

Preview Lab → · Contrast checker → · Palette generator →

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