#7955CF#7955CF

#7955CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.0% C 0.180 H 293.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7955CF
RGBrgb(121, 85, 207)
HSLhsl(258, 56%, 57%)
HSVhsv(258, 59%, 81%)
CMYKcmyk(41.5%, 58.9%, 0%, 18.8%)
CIE-LABlab(45.72, 42.76, -58.22)
CIE-LCHlch(45.72, 72.24, 306.29°)
OKLaboklab(55.02% 0.0709 -0.1658)
OKLCHoklch(55.02% 0.18 293.1)
XYZxyz(22.3931, 15.0663, 60.7476)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955CF #ABCF55
analogous
#556ECF #7955CF #B655CF
triadic
#7955CF #CF7955 #55CF79
tetradic
#7955CF #CF556E #ABCF55 #55CFB6
square
#7955CF #CF556E #ABCF55 #55CFB6
split-complementary
#7955CF #CFB655 #6ECF55
monochromatic
#412584 #5933B4 #7955CF #9F85DC #C4B4EA

Accessibility & contrast

On white

5.23
#7955CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7955CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955CF#FFFFFF#000000##FFFFFF
##7955CF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#62708A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7955cf;
/* rgb */ color: rgb(121, 85, 207);
/* oklch */ color: oklch(55.0% 0.180 293.1);
Tailwind
colors: {
  custom: {
    50: '#a586de',
    500: '#7955cf',
    950: '#000000',
  },
}
SCSS
$custom: #7955cf;
$custom-light: #a586de;
$custom-dark: #000000;
JSON
{
  "hex": "#7955cf",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 257.705,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.18037,
    "h": 293.1
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#7955CF
secondary
#CAD9A7
accent
#DF49B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7955CF

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

Preview Lab → · Contrast checker → · Palette generator →

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