#7955C8#7955C8

#7955C8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.172 H 294.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7955C8
RGBrgb(121, 85, 200)
HSLhsl(259, 51%, 56%)
HSVhsv(259, 58%, 78%)
CMYKcmyk(39.5%, 57.5%, 0%, 21.6%)
CIE-LABlab(45.26, 40.85, -54.94)
CIE-LCHlch(45.26, 68.46, 306.63°)
OKLaboklab(54.53% 0.071 -0.1562)
OKLCHoklch(54.53% 0.172 294.4)
XYZxyz(21.5562, 14.7316, 56.3401)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955C8 #A4C855
analogous
#556AC8 #7955C8 #B355C8
triadic
#7955C8 #C87955 #55C879
tetradic
#7955C8 #C8556A #A4C855 #55C8B3
square
#7955C8 #C8556A #A4C855 #55C8B3
split-complementary
#7955C8 #C8B355 #6AC855
monochromatic
#42287B #5B37A9 #7955C8 #9D83D7 #C2B1E6

Accessibility & contrast

On white

5.32
#7955C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7955C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955C8#FFFFFF#000000##FFFFFF
##7955C81.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)
#136CCC
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#656E86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7955c8;
/* rgb */ color: rgb(121, 85, 200);
/* oklch */ color: oklch(54.5% 0.172 294.4);
Tailwind
colors: {
  custom: {
    50: '#a486d9',
    500: '#7955c8',
    950: '#000000',
  },
}
SCSS
$custom: #7955c8;
$custom-light: #a486d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7955c8",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 258.783,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.17157,
    "h": 294.4
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#7955C8
secondary
#C5D4A5
accent
#DB4DAE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7955C8

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

Preview Lab → · Contrast checker → · Palette generator →

#7955C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva