#7955DB#7955DB

#7955DB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.195 H 291.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7955DB
RGBrgb(121, 85, 219)
HSLhsl(256, 65%, 60%)
HSVhsv(256, 61%, 86%)
CMYKcmyk(44.7%, 61.2%, 0%, 14.1%)
CIE-LABlab(46.55, 46.07, -63.76)
CIE-LCHlch(46.55, 78.66, 305.85°)
OKLaboklab(55.88% 0.0704 -0.1821)
OKLCHoklch(55.88% 0.195 291.1)
XYZxyz(23.9163, 15.6756, 68.7697)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955DB #B7DB55
analogous
#5574DB #7955DB #BC55DB
triadic
#7955DB #DB7955 #55DB79
tetradic
#7955DB #DB5574 #B7DB55 #55DBBC
square
#7955DB #DB5574 #B7DB55 #55DBBC
split-complementary
#7955DB #DBBC55 #74DB55
monochromatic
#3F2096 #552AC8 #7955DB #A188E6 #C9BAF0

Accessibility & contrast

On white

5.08
#7955DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7955DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955DB#FFFFFF#000000##FFFFFF
##7955DB1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#5C7490
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7955db;
/* rgb */ color: rgb(121, 85, 219);
/* oklch */ color: oklch(55.9% 0.195 291.1);
Tailwind
colors: {
  custom: {
    50: '#a686e7',
    500: '#7955db',
    950: '#000000',
  },
}
SCSS
$custom: #7955db;
$custom-light: #a686e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7955db",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 256.119,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.19524,
    "h": 291.1
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#7955DB
secondary
#D2E0AC
accent
#E840BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7955DB

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

Preview Lab → · Contrast checker → · Palette generator →

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