#7955E4#7955E4

#7955E4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.5% C 0.206 H 289.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7955E4
RGBrgb(121, 85, 228)
HSLhsl(255, 73%, 61%)
HSVhsv(255, 63%, 89%)
CMYKcmyk(46.9%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.19, 48.57, -67.83)
CIE-LCHlch(47.19, 83.42, 305.61°)
OKLaboklab(56.55% 0.0697 -0.1941)
OKLCHoklch(56.55% 0.206 289.7)
XYZxyz(25.1333, 16.1624, 75.1791)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955E4 #C0E455
analogous
#5579E4 #7955E4 #C155E4
triadic
#7955E4 #E47955 #55E479
tetradic
#7955E4 #E45579 #C0E455 #55E4C1
square
#7955E4 #E45579 #C0E455 #55E4C1
split-complementary
#7955E4 #E4C155 #79E455
monochromatic
#3D1AA4 #5123D9 #7955E4 #A38AEC #CCBFF5

Accessibility & contrast

On white

4.96
#7955E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7955E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955E4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955E4#FFFFFF#000000##FFFFFF
##7955E41.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#577795
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7955e4;
/* rgb */ color: rgb(121, 85, 228);
/* oklch */ color: oklch(56.5% 0.206 289.7);
Tailwind
colors: {
  custom: {
    50: '#a787ed',
    500: '#7955e4',
    950: '#000000',
  },
}
SCSS
$custom: #7955e4;
$custom-light: #a787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7955e4",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 255.105,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.20623,
    "h": 289.7
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#7955E4
secondary
#D8E5B0
accent
#D511A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7955E4

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

Preview Lab → · Contrast checker → · Palette generator →

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