#7955CD#7955CD

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

Color values

HEX#7955CD
RGBrgb(121, 85, 205)
HSLhsl(258, 55%, 57%)
HSVhsv(258, 59%, 80%)
CMYKcmyk(41%, 58.5%, 0%, 19.6%)
CIE-LABlab(45.59, 42.21, -57.29)
CIE-LCHlch(45.59, 71.16, 306.38°)
OKLaboklab(54.88% 0.071 -0.1631)
OKLCHoklch(54.88% 0.178 293.5)
XYZxyz(22.1501, 14.9692, 59.4681)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955CD #A9CD55
analogous
#556DCD #7955CD #B555CD
triadic
#7955CD #CD7955 #55CD79
tetradic
#7955CD #CD556D #A9CD55 #55CDB5
square
#7955CD #CD556D #A9CD55 #55CDB5
split-complementary
#7955CD #CDB555 #6DCD55
monochromatic
#422682 #5934B1 #7955CD #9E84DB #C4B4E9

Accessibility & contrast

On white

5.26
#7955CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7955CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955CD#FFFFFF#000000##FFFFFF
##7955CD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#186ACA
Tritanopia (blue-blind)
#636F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7955cd;
/* rgb */ color: rgb(121, 85, 205);
/* oklch */ color: oklch(54.9% 0.178 293.5);
Tailwind
colors: {
  custom: {
    50: '#a586dd',
    500: '#7955cd',
    950: '#000000',
  },
}
SCSS
$custom: #7955cd;
$custom-light: #a586dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7955cd",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 258,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.17787,
    "h": 293.5
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#7955CD
secondary
#C9D7A6
accent
#DE4AB1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7955CD

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

Preview Lab → · Contrast checker → · Palette generator →

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