#7855CA#7855CA

#7855CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.174 H 293.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7855CA
RGBrgb(120, 85, 202)
HSLhsl(258, 52%, 56%)
HSVhsv(258, 58%, 79%)
CMYKcmyk(40.6%, 57.9%, 0%, 20.8%)
CIE-LABlab(45.30, 41.16, -56.05)
CIE-LCHlch(45.30, 69.54, 306.30°)
OKLaboklab(54.57% 0.0697 -0.1595)
OKLCHoklch(54.57% 0.174 293.6)
XYZxyz(21.6520, 14.7538, 57.5726)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7855CA #A7CA55
analogous
#556DCA #7855CA #B355CA
triadic
#7855CA #CA7855 #55CA78
tetradic
#7855CA #CA556D #A7CA55 #55CAB3
square
#7855CA #CA556D #A7CA55 #55CAB3
split-complementary
#7855CA #CAB355 #6DCA55
monochromatic
#41277D #5936AC #7855CA #9D84D9 #C2B2E7

Accessibility & contrast

On white

5.32
#7855CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7855CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7855CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7855CA#FFFFFF#000000##FFFFFF
##7855CA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#1D69C7
Tritanopia (blue-blind)
#626E87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7855ca;
/* rgb */ color: rgb(120, 85, 202);
/* oklch */ color: oklch(54.6% 0.174 293.6);
Tailwind
colors: {
  custom: {
    50: '#a486db',
    500: '#7855ca',
    950: '#000000',
  },
}
SCSS
$custom: #7855ca;
$custom-light: #a486db;
$custom-dark: #000000;
JSON
{
  "hex": "#7855ca",
  "rgb": {
    "r": 120,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 257.949,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.17404,
    "h": 293.6
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#7855CA
secondary
#C7D5A5
accent
#DC4CB1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7855CA

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

Preview Lab → · Contrast checker → · Palette generator →

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