#7955CE#7955CE

#7955CE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.179 H 293.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7955CE
RGBrgb(121, 85, 206)
HSLhsl(258, 55%, 57%)
HSVhsv(258, 59%, 81%)
CMYKcmyk(41.3%, 58.7%, 0%, 19.2%)
CIE-LABlab(45.66, 42.48, -57.76)
CIE-LCHlch(45.66, 71.70, 306.34°)
OKLaboklab(54.95% 0.0709 -0.1645)
OKLCHoklch(54.95% 0.179 293.3)
XYZxyz(22.2712, 15.0176, 60.1058)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955CE #AACE55
analogous
#556ECE #7955CE #B555CE
triadic
#7955CE #CE7955 #55CE79
tetradic
#7955CE #CE556E #AACE55 #55CEB5
square
#7955CE #CE556E #AACE55 #55CEB5
split-complementary
#7955CE #CEB555 #6ECE55
monochromatic
#412683 #5933B2 #7955CE #9E85DC #C4B4E9

Accessibility & contrast

On white

5.25
#7955CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7955CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955CE#FFFFFF#000000##FFFFFF
##7955CE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#156ACB
Tritanopia (blue-blind)
#627089
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7955ce;
/* rgb */ color: rgb(121, 85, 206);
/* oklch */ color: oklch(54.9% 0.179 293.3);
Tailwind
colors: {
  custom: {
    50: '#a586de',
    500: '#7955ce',
    950: '#000000',
  },
}
SCSS
$custom: #7955ce;
$custom-light: #a586de;
$custom-dark: #000000;
JSON
{
  "hex": "#7955ce",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 257.851,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.17912,
    "h": 293.3
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#7955CE
secondary
#C9D8A7
accent
#DF49B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7955CE

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

Preview Lab → · Contrast checker → · Palette generator →

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