#7955EF#7955EF

#7955EF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.219 H 288.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7955EF
RGBrgb(121, 85, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 64%, 94%)
CMYKcmyk(49.4%, 64.4%, 0%, 6.3%)
CIE-LABlab(48.00, 51.65, -72.71)
CIE-LCHlch(48.00, 89.18, 305.39°)
OKLaboklab(57.39% 0.0686 -0.2084)
OKLCHoklch(57.39% 0.219 288.2)
XYZxyz(26.7091, 16.7927, 83.4786)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955EF #CBEF55
analogous
#557EEF #7955EF #C655EF
triadic
#7955EF #EF7955 #55EF79
tetradic
#7955EF #EF557E #CBEF55 #55EFC6
square
#7955EF #EF557E #CBEF55 #55EFC6
split-complementary
#7955EF #EFC655 #7EEF55
monochromatic
#3811B8 #4D1DEA #7955EF #A58DF4 #D1C5FA

Accessibility & contrast

On white

4.82
#7955EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7955EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955EF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955EF#FFFFFF#000000##FFFFFF
##7955EF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#4F7B9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7955ef;
/* rgb */ color: rgb(121, 85, 239);
/* oklch */ color: oklch(57.4% 0.219 288.2);
Tailwind
colors: {
  custom: {
    50: '#a987f5',
    500: '#7955ef',
    950: '#000000',
  },
}
SCSS
$custom: #7955ef;
$custom-light: #a987f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7955ef",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 254.026,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.21944,
    "h": 288.2
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#7955EF
secondary
#DEEBB5
accent
#DF06AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7955EF

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

Preview Lab → · Contrast checker → · Palette generator →

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