#7955F6#7955F6

#7955F6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.228 H 287.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7955F6
RGBrgb(121, 85, 246)
HSLhsl(253, 90%, 65%)
HSVhsv(253, 65%, 96%)
CMYKcmyk(50.8%, 65.4%, 0%, 3.5%)
CIE-LABlab(48.53, 53.61, -75.76)
CIE-LCHlch(48.53, 92.81, 305.28°)
OKLaboklab(57.94% 0.0678 -0.2174)
OKLCHoklch(57.94% 0.228 287.3)
XYZxyz(27.7633, 17.2144, 89.0307)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955F6 #D2F655
analogous
#5582F6 #7955F6 #C955F6
triadic
#7955F6 #F67955 #55F679
tetradic
#7955F6 #F65582 #D2F655 #55F6C9
square
#7955F6 #F65582 #D2F655 #55F6C9
split-complementary
#7955F6 #F6C955 #82F655
monochromatic
#340AC6 #4B1BF3 #7955F6 #A78FF9 #D5C9FC

Accessibility & contrast

On white

4.73
#7955F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7955F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955F6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955F6#FFFFFF#000000##FFFFFF
##7955F61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#4A7D9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7955f6;
/* rgb */ color: rgb(121, 85, 246);
/* oklch */ color: oklch(57.9% 0.228 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa87fa',
    500: '#7955f6',
    950: '#000000',
  },
}
SCSS
$custom: #7955f6;
$custom-light: #aa87fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7955f6",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 246
  },
  "hsl": {
    "h": 253.416,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.22773,
    "h": 287.3
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#7955F6
secondary
#E3EFB8
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7955F6

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

Preview Lab → · Contrast checker → · Palette generator →

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