#7855F9#7855F9

#7855F9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.231 H 286.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7855F9
RGBrgb(120, 85, 249)
HSLhsl(253, 93%, 65%)
HSVhsv(253, 66%, 98%)
CMYKcmyk(51.8%, 65.9%, 0%, 2.4%)
CIE-LABlab(48.67, 54.29, -77.21)
CIE-LCHlch(48.67, 94.39, 305.11°)
OKLaboklab(58.09% 0.066 -0.2217)
OKLCHoklch(58.09% 0.231 286.6)
XYZxyz(28.0880, 17.3282, 91.4688)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855F9 #D6F955
analogous
#5584F9 #7855F9 #CA55F9
triadic
#7855F9 #F97855 #55F978
tetradic
#7855F9 #F95584 #D6F955 #55F9CA
square
#7855F9 #F95584 #D6F955 #55F9CA
split-complementary
#7855F9 #F9CA55 #84F955
monochromatic
#3107CC #491AF7 #7855F9 #A790FB #D6CBFD

Accessibility & contrast

On white

4.70
#7855F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7855F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855F9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855F9#FFFFFF#000000##FFFFFF
##7855F91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#457EA0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7855f9;
/* rgb */ color: rgb(120, 85, 249);
/* oklch */ color: oklch(58.1% 0.231 286.6);
Tailwind
colors: {
  custom: {
    50: '#a987fc',
    500: '#7855f9',
    950: '#000000',
  },
}
SCSS
$custom: #7855f9;
$custom-light: #a987fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7855f9",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 249
  },
  "hsl": {
    "h": 252.805,
    "s": 93.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.23133,
    "h": 286.6
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#7855F9
secondary
#E5F0B9
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7855F9

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

Preview Lab → · Contrast checker → · Palette generator →

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