#7855EF#7855EF

#7855EF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.219 H 287.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7855EF
RGBrgb(120, 85, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 64%, 94%)
CMYKcmyk(49.8%, 64.4%, 0%, 6.3%)
CIE-LABlab(47.91, 51.47, -72.86)
CIE-LCHlch(47.91, 89.21, 305.24°)
OKLaboklab(57.3% 0.0673 -0.2089)
OKLCHoklch(57.3% 0.219 287.8)
XYZxyz(26.5697, 16.7208, 83.4721)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855EF #CCEF55
analogous
#557FEF #7855EF #C555EF
triadic
#7855EF #EF7855 #55EF78
tetradic
#7855EF #EF557F #CCEF55 #55EFC5
square
#7855EF #EF557F #CCEF55 #55EFC5
split-complementary
#7855EF #EFC555 #7FEF55
monochromatic
#3711B8 #4C1DEA #7855EF #A48DF4 #D1C5FA

Accessibility & contrast

On white

4.83
#7855EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7855EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855EF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855EF#FFFFFF#000000##FFFFFF
##7855EF1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#4D7B9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7855ef;
/* rgb */ color: rgb(120, 85, 239);
/* oklch */ color: oklch(57.3% 0.219 287.8);
Tailwind
colors: {
  custom: {
    50: '#a887f5',
    500: '#7855ef',
    950: '#000000',
  },
}
SCSS
$custom: #7855ef;
$custom-light: #a887f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7855ef",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 253.636,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.21949,
    "h": 287.8
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#7855EF
secondary
#DFEBB5
accent
#DF06AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7855EF

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

Preview Lab → · Contrast checker → · Palette generator →

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