#7955DD#7955DD

#7955DD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.198 H 290.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7955DD
RGBrgb(121, 85, 221)
HSLhsl(256, 67%, 60%)
HSVhsv(256, 62%, 87%)
CMYKcmyk(45.2%, 61.5%, 0%, 13.3%)
CIE-LABlab(46.69, 46.62, -64.67)
CIE-LCHlch(46.69, 79.72, 305.79°)
OKLaboklab(56.02% 0.0702 -0.1848)
OKLCHoklch(56.02% 0.198 290.8)
XYZxyz(24.1811, 15.7816, 70.1647)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955DD #B9DD55
analogous
#5575DD #7955DD #BD55DD
triadic
#7955DD #DD7955 #55DD79
tetradic
#7955DD #DD5575 #B9DD55 #55DDBD
square
#7955DD #DD5575 #B9DD55 #55DDBD
split-complementary
#7955DD #DDBD55 #75DD55
monochromatic
#3F1F99 #5429CC #7955DD #A188E7 #C9BBF1

Accessibility & contrast

On white

5.05
#7955DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7955DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955DD#FFFFFF#000000##FFFFFF
##7955DD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#5B7591
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7955dd;
/* rgb */ color: rgb(121, 85, 221);
/* oklch */ color: oklch(56.0% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#a786e8',
    500: '#7955dd',
    950: '#000000',
  },
}
SCSS
$custom: #7955dd;
$custom-light: #a786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7955dd",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 255.882,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.1977,
    "h": 290.8
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#7955DD
secondary
#D3E1AD
accent
#EA3EBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7955DD

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

Preview Lab → · Contrast checker → · Palette generator →

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