#7955DE#7955DE

#7955DE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.199 H 290.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7955DE
RGBrgb(121, 85, 222)
HSLhsl(256, 67%, 60%)
HSVhsv(256, 62%, 87%)
CMYKcmyk(45.5%, 61.7%, 0%, 12.9%)
CIE-LABlab(46.76, 46.90, -65.12)
CIE-LCHlch(46.76, 80.25, 305.76°)
OKLaboklab(56.1% 0.0702 -0.1861)
OKLCHoklch(56.1% 0.199 290.6)
XYZxyz(24.3148, 15.8350, 70.8684)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955DE #BADE55
analogous
#5576DE #7955DE #BD55DE
triadic
#7955DE #DE7955 #55DE79
tetradic
#7955DE #DE5576 #BADE55 #55DEBD
square
#7955DE #DE5576 #BADE55 #55DEBD
split-complementary
#7955DE #DEBD55 #76DE55
monochromatic
#3F1E9B #5428CE #7955DE #A188E8 #CABCF2

Accessibility & contrast

On white

5.04
#7955DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7955DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955DE#FFFFFF#000000##FFFFFF
##7955DE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#5A7592
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7955de;
/* rgb */ color: rgb(121, 85, 222);
/* oklch */ color: oklch(56.1% 0.199 290.6);
Tailwind
colors: {
  custom: {
    50: '#a786e9',
    500: '#7955de',
    950: '#000000',
  },
}
SCSS
$custom: #7955de;
$custom-light: #a786e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7955de",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 255.766,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.19892,
    "h": 290.6
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#7955DE
secondary
#D4E2AD
accent
#CF169F
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7955DE

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

Preview Lab → · Contrast checker → · Palette generator →

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