#7955CA#7955CA

#7955CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.174 H 294.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7955CA
RGBrgb(121, 85, 202)
HSLhsl(258, 52%, 56%)
HSVhsv(258, 58%, 79%)
CMYKcmyk(40.1%, 57.9%, 0%, 20.8%)
CIE-LABlab(45.39, 41.39, -55.88)
CIE-LCHlch(45.39, 69.54, 306.53°)
OKLaboklab(54.67% 0.071 -0.159)
OKLCHoklch(54.67% 0.174 294.1)
XYZxyz(21.7915, 14.8257, 57.5792)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955CA #A6CA55
analogous
#556CCA #7955CA #B455CA
triadic
#7955CA #CA7955 #55CA79
tetradic
#7955CA #CA556C #A6CA55 #55CAB4
square
#7955CA #CA556C #A6CA55 #55CAB4
split-complementary
#7955CA #CAB455 #6CCA55
monochromatic
#42277D #5A36AC #7955CA #9E84D9 #C3B2E7

Accessibility & contrast

On white

5.30
#7955CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7955CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955CA#FFFFFF#000000##FFFFFF
##7955CA1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#646E87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7955ca;
/* rgb */ color: rgb(121, 85, 202);
/* oklch */ color: oklch(54.7% 0.174 294.1);
Tailwind
colors: {
  custom: {
    50: '#a586db',
    500: '#7955ca',
    950: '#000000',
  },
}
SCSS
$custom: #7955ca;
$custom-light: #a586db;
$custom-dark: #000000;
JSON
{
  "hex": "#7955ca",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 258.462,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.1741,
    "h": 294.1
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#7955CA
secondary
#C7D5A5
accent
#DC4CB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7955CA

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

Preview Lab → · Contrast checker → · Palette generator →

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