#7952E7#7952E7

#7952E7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.214 H 289.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7952E7
RGBrgb(121, 82, 231)
HSLhsl(256, 76%, 61%)
HSVhsv(256, 65%, 91%)
CMYKcmyk(47.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(46.80, 51.04, -70.15)
CIE-LCHlch(46.80, 86.75, 306.04°)
OKLaboklab(56.34% 0.0724 -0.2009)
OKLCHoklch(56.34% 0.214 289.8)
XYZxyz(25.3221, 15.8680, 77.3144)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952E7 #C0E752
analogous
#5276E7 #7952E7 #C452E7
triadic
#7952E7 #E77952 #52E779
tetradic
#7952E7 #E75276 #C0E752 #52E7C4
square
#7952E7 #E75276 #C0E752 #52E7C4
split-complementary
#7952E7 #E7C452 #76E752
monochromatic
#3D17A7 #511FDD #7952E7 #A388EE #CCBDF6

Accessibility & contrast

On white

5.03
#7952E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7952E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952E7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952E7#FFFFFF#000000##FFFFFF
##7952E71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#557695
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7952e7;
/* rgb */ color: rgb(121, 82, 231);
/* oklch */ color: oklch(56.3% 0.214 289.8);
Tailwind
colors: {
  custom: {
    50: '#a885f0',
    500: '#7952e7',
    950: '#000000',
  },
}
SCSS
$custom: #7952e7;
$custom-light: #a885f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7952e7",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 255.705,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.21357,
    "h": 289.8
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#7952E7
secondary
#D8E6AF
accent
#D80EA3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7952E7

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

Preview Lab → · Contrast checker → · Palette generator →

#7952E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva