#7955EC#7955EC

#7955EC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.216 H 288.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7955EC
RGBrgb(121, 85, 236)
HSLhsl(254, 80%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(48.7%, 64%, 0%, 7.5%)
CIE-LABlab(47.77, 50.81, -71.39)
CIE-LCHlch(47.77, 87.62, 305.44°)
OKLaboklab(57.16% 0.0689 -0.2046)
OKLCHoklch(57.16% 0.216 288.6)
XYZxyz(26.2696, 16.6169, 81.1638)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955EC #C8EC55
analogous
#557CEC #7955EC #C555EC
triadic
#7955EC #EC7955 #55EC79
tetradic
#7955EC #EC557C #C8EC55 #55ECC5
square
#7955EC #EC557C #C8EC55 #55ECC5
split-complementary
#7955EC #ECC555 #7CEC55
monochromatic
#3A14B3 #4E1EE6 #7955EC #A48CF2 #D0C3F8

Accessibility & contrast

On white

4.86
#7955EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7955EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955EC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955EC#FFFFFF#000000##FFFFFF
##7955EC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#517A99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7955ec;
/* rgb */ color: rgb(121, 85, 236);
/* oklch */ color: oklch(57.2% 0.216 288.6);
Tailwind
colors: {
  custom: {
    50: '#a887f3',
    500: '#7955ec',
    950: '#000000',
  },
}
SCSS
$custom: #7955ec;
$custom-light: #a887f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7955ec",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 254.305,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.21586,
    "h": 288.6
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#7955EC
secondary
#DDEAB3
accent
#DC09AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7955EC

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

Preview Lab → · Contrast checker → · Palette generator →

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