#7955F9#7955F9

#7955F9 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.231 H 286.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7955F9
RGBrgb(121, 85, 249)
HSLhsl(253, 93%, 65%)
HSVhsv(253, 66%, 98%)
CMYKcmyk(51.4%, 65.9%, 0%, 2.4%)
CIE-LABlab(48.76, 54.45, -77.06)
CIE-LCHlch(48.76, 94.36, 305.25°)
OKLaboklab(58.18% 0.0673 -0.2212)
OKLCHoklch(58.18% 0.231 286.9)
XYZxyz(28.2275, 17.4001, 91.4754)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955F9 #D5F955
analogous
#5583F9 #7955F9 #CB55F9
triadic
#7955F9 #F97955 #55F979
tetradic
#7955F9 #F95583 #D5F955 #55F9CB
square
#7955F9 #F95583 #D5F955 #55F9CB
split-complementary
#7955F9 #F9CB55 #83F955
monochromatic
#3207CC #4A1AF7 #7955F9 #A890FB #D6CBFD

Accessibility & contrast

On white

4.69
#7955F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7955F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955F9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955F9#FFFFFF#000000##FFFFFF
##7955F91.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#477EA0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7955f9;
/* rgb */ color: rgb(121, 85, 249);
/* oklch */ color: oklch(58.2% 0.231 286.9);
Tailwind
colors: {
  custom: {
    50: '#aa87fc',
    500: '#7955f9',
    950: '#000000',
  },
}
SCSS
$custom: #7955f9;
$custom-light: #aa87fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7955f9",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 249
  },
  "hsl": {
    "h": 253.171,
    "s": 93.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.23125,
    "h": 286.9
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#7955F9
secondary
#E4F0B9
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7955F9

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

Preview Lab → · Contrast checker → · Palette generator →

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