#7855FC#7855FC

#7855FC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.235 H 286.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7855FC
RGBrgb(120, 85, 252)
HSLhsl(253, 97%, 66%)
HSVhsv(253, 66%, 99%)
CMYKcmyk(52.4%, 66.3%, 0%, 1.2%)
CIE-LABlab(48.90, 55.13, -78.50)
CIE-LCHlch(48.90, 95.93, 305.08°)
OKLaboklab(58.33% 0.0656 -0.2255)
OKLCHoklch(58.33% 0.235 286.2)
XYZxyz(28.5597, 17.5168, 93.9528)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855FC #D9FC55
analogous
#5585FC #7855FC #CB55FC
triadic
#7855FC #FC7855 #55FC78
tetradic
#7855FC #FC5585 #D9FC55 #55FCCB
square
#7855FC #FC5585 #D9FC55 #55FCCB
split-complementary
#7855FC #FCCB55 #85FC55
monochromatic
#2F04D3 #4819FB #7855FC #A891FD #D8CDFE

Accessibility & contrast

On white

4.66
#7855FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7855FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7855FC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855FC#FFFFFF#000000##FFFFFF
##7855FC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006FF9
Tritanopia (blue-blind)
#427FA2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7855fc;
/* rgb */ color: rgb(120, 85, 252);
/* oklch */ color: oklch(58.3% 0.235 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa87ff',
    500: '#7855fc',
    950: '#000000',
  },
}
SCSS
$custom: #7855fc;
$custom-light: #aa87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7855fc",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 252
  },
  "hsl": {
    "h": 252.575,
    "s": 96.532,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.23485,
    "h": 286.2
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7855FC

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

Preview Lab → · Contrast checker → · Palette generator →

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