#7955BE#7955BE

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

Color values

HEX#7955BE
RGBrgb(121, 85, 190)
HSLhsl(261, 45%, 54%)
HSVhsv(261, 55%, 75%)
CMYKcmyk(36.3%, 55.3%, 0%, 25.5%)
CIE-LABlab(44.63, 38.15, -50.16)
CIE-LCHlch(44.63, 63.02, 307.26°)
OKLaboklab(53.86% 0.0709 -0.1422)
OKLCHoklch(53.86% 0.159 296.5)
XYZxyz(20.4256, 14.2793, 50.3853)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955BE #9ABE55
analogous
#5566BE #7955BE #AE55BE
triadic
#7955BE #BE7955 #55BE79
tetradic
#7955BE #BE5566 #9ABE55 #55BEAE
square
#7955BE #BE5566 #9ABE55 #55BEAE
split-complementary
#7955BE #BEAE55 #66BE55
monochromatic
#422A6E #5C3B9B #7955BE #9C81CF #BFAEE0

Accessibility & contrast

On white

5.45
#7955BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7955BE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955BE#FFFFFF#000000##FFFFFF
##7955BE1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#696A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7955be;
/* rgb */ color: rgb(121, 85, 190);
/* oklch */ color: oklch(53.9% 0.159 296.5);
Tailwind
colors: {
  custom: {
    50: '#a486d2',
    500: '#7955be',
    950: '#000000',
  },
}
SCSS
$custom: #7955be;
$custom-light: #a486d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7955be",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 260.571,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.15886,
    "h": 296.5
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#7955BE
secondary
#BECEA1
accent
#D453A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7955BE

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

Preview Lab → · Contrast checker → · Palette generator →

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