#7955AF#7955AF

#7955AF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 52.9% C 0.139 H 300.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7955AF
RGBrgb(121, 85, 175)
HSLhsl(264, 36%, 51%)
HSVhsv(264, 51%, 69%)
CMYKcmyk(30.9%, 51.4%, 0%, 31.4%)
CIE-LABlab(43.74, 34.20, -42.81)
CIE-LCHlch(43.74, 54.79, 308.62°)
OKLaboklab(52.91% 0.0701 -0.1206)
OKLCHoklch(52.91% 0.139 300.1)
XYZxyz(18.8697, 13.6570, 42.1911)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955AF #8BAF55
analogous
#555EAF #7955AF #A655AF
triadic
#7955AF #AF7955 #55AF79
tetradic
#7955AF #AF555E #8BAF55 #55AFA6
square
#7955AF #AF555E #8BAF55 #55AFA6
split-complementary
#7955AF #AFA655 #5EAF55
monochromatic
#402C5E #5C4087 #7955AF #9A7FC3 #BBA8D6

Accessibility & contrast

On white

5.63
#7955AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7955AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955AF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955AF#FFFFFF#000000##FFFFFF
##7955AF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#6E667A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7955af;
/* rgb */ color: rgb(121, 85, 175);
/* oklch */ color: oklch(52.9% 0.139 300.1);
Tailwind
colors: {
  custom: {
    50: '#a286c7',
    500: '#7955af',
    950: '#000000',
  },
}
SCSS
$custom: #7955af;
$custom-light: #a286c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7955af",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 264,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.13949,
    "h": 300.1
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#7955AF
secondary
#B4C49C
accent
#CC5C9F
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7955AF

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

Preview Lab → · Contrast checker → · Palette generator →

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