#7955BC#7955BC

#7955BC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.7% C 0.156 H 296.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7955BC
RGBrgb(121, 85, 188)
HSLhsl(261, 43%, 54%)
HSVhsv(261, 55%, 74%)
CMYKcmyk(35.6%, 54.8%, 0%, 26.3%)
CIE-LABlab(44.51, 37.62, -49.19)
CIE-LCHlch(44.51, 61.93, 307.40°)
OKLaboklab(53.73% 0.0708 -0.1393)
OKLCHoklch(53.73% 0.156 296.9)
XYZxyz(20.2085, 14.1925, 49.2419)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955BC #98BC55
analogous
#5564BC #7955BC #AC55BC
triadic
#7955BC #BC7955 #55BC79
tetradic
#7955BC #BC5564 #98BC55 #55BCAC
square
#7955BC #BC5564 #98BC55 #55BCAC
split-complementary
#7955BC #BCAC55 #64BC55
monochromatic
#412B6C #5C3C98 #7955BC #9C81CD #BEADDF

Accessibility & contrast

On white

5.47
#7955BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7955BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955BC#FFFFFF#000000##FFFFFF
##7955BC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296ABF
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#6A6A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7955bc;
/* rgb */ color: rgb(121, 85, 188);
/* oklch */ color: oklch(53.7% 0.156 296.9);
Tailwind
colors: {
  custom: {
    50: '#a386d1',
    500: '#7955bc',
    950: '#000000',
  },
}
SCSS
$custom: #7955bc;
$custom-light: #a386d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7955bc",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 260.971,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.15629,
    "h": 296.9
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#7955BC
secondary
#BDCCA0
accent
#D355A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7955BC

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

Preview Lab → · Contrast checker → · Palette generator →

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