#7955E9#7955E9

#7955E9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.212 H 289.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7955E9
RGBrgb(121, 85, 233)
HSLhsl(255, 77%, 62%)
HSVhsv(255, 64%, 91%)
CMYKcmyk(48.1%, 63.5%, 0%, 8.6%)
CIE-LABlab(47.55, 49.97, -70.06)
CIE-LCHlch(47.55, 86.05, 305.50°)
OKLaboklab(56.93% 0.0692 -0.2007)
OKLCHoklch(56.93% 0.212 289)
XYZxyz(25.8374, 16.4441, 78.8876)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7955E9 #C5E955
analogous
#557BE9 #7955E9 #C355E9
triadic
#7955E9 #E97955 #55E979
tetradic
#7955E9 #E9557B #C5E955 #55E9C3
square
#7955E9 #E9557B #C5E955 #55E9C3
split-complementary
#7955E9 #E9C355 #7BE955
monochromatic
#3B16AD #4E1FE2 #7955E9 #A48BF0 #CEC1F7

Accessibility & contrast

On white

4.90
#7955E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7955E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7955E9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7955E9#FFFFFF#000000##FFFFFF
##7955E91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#537997
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7955e9;
/* rgb */ color: rgb(121, 85, 233);
/* oklch */ color: oklch(56.9% 0.212 289.0);
Tailwind
colors: {
  custom: {
    50: '#a887f1',
    500: '#7955e9',
    950: '#000000',
  },
}
SCSS
$custom: #7955e9;
$custom-light: #a887f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7955e9",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 254.595,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56925,
    "c": 0.21226,
    "h": 289
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#7955E9
secondary
#DBE8B2
accent
#D90CA7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7955E9

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

Preview Lab → · Contrast checker → · Palette generator →

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