#7855F5#7855F5

#7855F5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.227 H 287.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7855F5
RGBrgb(120, 85, 245)
HSLhsl(253, 89%, 65%)
HSVhsv(253, 65%, 96%)
CMYKcmyk(51%, 65.3%, 0%, 3.9%)
CIE-LABlab(48.36, 53.16, -75.48)
CIE-LCHlch(48.36, 92.32, 305.16°)
OKLaboklab(57.77% 0.0666 -0.2166)
OKLCHoklch(57.77% 0.227 287.1)
XYZxyz(27.4708, 17.0813, 88.2180)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855F5 #D2F555
analogous
#5582F5 #7855F5 #C855F5
triadic
#7855F5 #F57855 #55F578
tetradic
#7855F5 #F55582 #D2F555 #55F5C8
square
#7855F5 #F55582 #D2F555 #55F5C8
split-complementary
#7855F5 #F5C855 #82F555
monochromatic
#340CC4 #4A1BF2 #7855F5 #A68FF8 #D4C9FC

Accessibility & contrast

On white

4.75
#7855F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7855F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855F5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855F5#FFFFFF#000000##FFFFFF
##7855F51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#487D9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7855f5;
/* rgb */ color: rgb(120, 85, 245);
/* oklch */ color: oklch(57.8% 0.227 287.1);
Tailwind
colors: {
  custom: {
    50: '#a987fa',
    500: '#7855f5',
    950: '#000000',
  },
}
SCSS
$custom: #7855f5;
$custom-light: #a987fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7855f5",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 245
  },
  "hsl": {
    "h": 253.125,
    "s": 88.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.22662,
    "h": 287.1
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#7855F5
secondary
#E2EEB7
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7855F5

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

Preview Lab → · Contrast checker → · Palette generator →

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