#7955CB#7955CB

#7955CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.175 H 293.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7955CB
RGBrgb(121, 85, 203)
HSLhsl(258, 53%, 56%)
HSVhsv(258, 58%, 80%)
CMYKcmyk(40.4%, 58.1%, 0%, 20.4%)
CIE-LABlab(45.46, 41.66, -56.35)
CIE-LCHlch(45.46, 70.08, 306.48°)
OKLaboklab(54.74% 0.071 -0.1603)
OKLCHoklch(54.74% 0.175 293.9)
XYZxyz(21.9103, 14.8732, 58.2048)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955CB #A7CB55
analogous
#556CCB #7955CB #B455CB
triadic
#7955CB #CB7955 #55CB79
tetradic
#7955CB #CB556C #A7CB55 #55CBB4
square
#7955CB #CB556C #A7CB55 #55CBB4
split-complementary
#7955CB #CBB455 #6CCB55
monochromatic
#42277F #5A35AE #7955CB #9E84D9 #C3B3E8

Accessibility & contrast

On white

5.28
#7955CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7955CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955CB#FFFFFF#000000##FFFFFF
##7955CB1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086DCF
Deuteranopia (green-blind)
#1D6AC8
Tritanopia (blue-blind)
#646F88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7955cb;
/* rgb */ color: rgb(121, 85, 203);
/* oklch */ color: oklch(54.7% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#a586db',
    500: '#7955cb',
    950: '#000000',
  },
}
SCSS
$custom: #7955cb;
$custom-light: #a586db;
$custom-dark: #000000;
JSON
{
  "hex": "#7955cb",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 258.305,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.17536,
    "h": 293.9
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#7955CB
secondary
#C7D6A6
accent
#DD4BB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7955CB

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

Preview Lab → · Contrast checker → · Palette generator →

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