#7955BF#7955BF

#7955BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.160 H 296.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7955BF
RGBrgb(121, 85, 191)
HSLhsl(260, 45%, 54%)
HSVhsv(260, 55%, 75%)
CMYKcmyk(36.6%, 55.5%, 0%, 25.1%)
CIE-LABlab(44.69, 38.42, -50.64)
CIE-LCHlch(44.69, 63.56, 307.18°)
OKLaboklab(53.93% 0.0709 -0.1436)
OKLCHoklch(53.93% 0.16 296.3)
XYZxyz(20.5352, 14.3232, 50.9629)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955BF #9BBF55
analogous
#5566BF #7955BF #AE55BF
triadic
#7955BF #BF7955 #55BF79
tetradic
#7955BF #BF5566 #9BBF55 #55BFAE
square
#7955BF #BF5566 #9BBF55 #55BFAE
split-complementary
#7955BF #BFAE55 #66BF55
monochromatic
#422A70 #5C3B9C #7955BF #9C81D0 #BFAEE0

Accessibility & contrast

On white

5.43
#7955BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7955BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955BF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955BF#FFFFFF#000000##FFFFFF
##7955BF1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#3068BD
Tritanopia (blue-blind)
#696B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7955bf;
/* rgb */ color: rgb(121, 85, 191);
/* oklch */ color: oklch(53.9% 0.160 296.3);
Tailwind
colors: {
  custom: {
    50: '#a486d3',
    500: '#7955bf',
    950: '#000000',
  },
}
SCSS
$custom: #7955bf;
$custom-light: #a486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7955bf",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 260.377,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.16014,
    "h": 296.3
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#7955BF
secondary
#BFCEA1
accent
#D553A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7955BF

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

Preview Lab → · Contrast checker → · Palette generator →

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