#7855ED#7855ED

#7855ED is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.217 H 288.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7855ED
RGBrgb(120, 85, 237)
HSLhsl(254, 81%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(49.4%, 64.1%, 0%, 7.1%)
CIE-LABlab(47.76, 50.91, -71.98)
CIE-LCHlch(47.76, 88.16, 305.27°)
OKLaboklab(57.14% 0.0675 -0.2063)
OKLCHoklch(57.14% 0.217 288.1)
XYZxyz(26.2758, 16.6033, 81.9246)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855ED #CAED55
analogous
#557EED #7855ED #C455ED
triadic
#7855ED #ED7855 #55ED78
tetradic
#7855ED #ED557E #CAED55 #55EDC4
square
#7855ED #ED557E #CAED55 #55EDC4
split-complementary
#7855ED #EDC455 #7EED55
monochromatic
#3813B4 #4C1EE7 #7855ED #A48CF3 #D0C4F9

Accessibility & contrast

On white

4.86
#7855ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7855ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855ED
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855ED#FFFFFF#000000##FFFFFF
##7855ED1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#4F7A9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7855ed;
/* rgb */ color: rgb(120, 85, 237);
/* oklch */ color: oklch(57.1% 0.217 288.1);
Tailwind
colors: {
  custom: {
    50: '#a887f4',
    500: '#7855ed',
    950: '#000000',
  },
}
SCSS
$custom: #7855ed;
$custom-light: #a887f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7855ed",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 253.816,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.2171,
    "h": 288.1
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#7855ED
secondary
#DEEAB4
accent
#DD08AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7855ED

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

Preview Lab → · Contrast checker → · Palette generator →

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