#7955D9#7955D9

#7955D9 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.193 H 291.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7955D9
RGBrgb(121, 85, 217)
HSLhsl(256, 63%, 59%)
HSVhsv(256, 61%, 85%)
CMYKcmyk(44.2%, 60.8%, 0%, 14.9%)
CIE-LABlab(46.41, 45.51, -62.85)
CIE-LCHlch(46.41, 77.59, 305.91°)
OKLaboklab(55.73% 0.0705 -0.1794)
OKLCHoklch(55.73% 0.193 291.4)
XYZxyz(23.6546, 15.5709, 67.3913)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955D9 #B5D955
analogous
#5573D9 #7955D9 #BB55D9
triadic
#7955D9 #D97955 #55D979
tetradic
#7955D9 #D95573 #B5D955 #55D9BB
square
#7955D9 #D95573 #B5D955 #55D9BB
split-complementary
#7955D9 #D9BB55 #73D955
monochromatic
#402193 #562CC5 #7955D9 #A087E4 #C8B9EF

Accessibility & contrast

On white

5.10
#7955D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7955D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955D9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955D9#FFFFFF#000000##FFFFFF
##7955D91.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#5D738F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7955d9;
/* rgb */ color: rgb(121, 85, 217);
/* oklch */ color: oklch(55.7% 0.193 291.4);
Tailwind
colors: {
  custom: {
    50: '#a686e6',
    500: '#7955d9',
    950: '#000000',
  },
}
SCSS
$custom: #7955d9;
$custom-light: #a686e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7955d9",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 217
  },
  "hsl": {
    "h": 256.364,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.19278,
    "h": 291.4
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#7955D9
secondary
#D1DFAB
accent
#E641B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7955D9

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

Preview Lab → · Contrast checker → · Palette generator →

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