#7952DE#7952DE

#7952DE is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.6% C 0.203 H 291.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7952DE
RGBrgb(121, 82, 222)
HSLhsl(257, 68%, 60%)
HSVhsv(257, 63%, 87%)
CMYKcmyk(45.5%, 63.1%, 0%, 12.9%)
CIE-LABlab(46.14, 48.55, -66.12)
CIE-LCHlch(46.14, 82.03, 306.29°)
OKLaboklab(55.65% 0.0733 -0.1891)
OKLCHoklch(55.65% 0.203 291.2)
XYZxyz(24.0836, 15.3726, 70.7913)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952DE #B7DE52
analogous
#5271DE #7952DE #BF52DE
triadic
#7952DE #DE7952 #52DE79
tetradic
#7952DE #DE5271 #B7DE52 #52DEBF
square
#7952DE #DE5271 #B7DE52 #52DEBF
split-complementary
#7952DE #DEBF52 #71DE52
monochromatic
#3F1D99 #5527CC #7952DE #A185E8 #C9B9F2

Accessibility & contrast

On white

5.15
#7952DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7952DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952DE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952DE#FFFFFF#000000##FFFFFF
##7952DE1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#5A7391
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7952de;
/* rgb */ color: rgb(121, 82, 222);
/* oklch */ color: oklch(55.6% 0.203 291.2);
Tailwind
colors: {
  custom: {
    50: '#a785e9',
    500: '#7952de',
    950: '#000000',
  },
}
SCSS
$custom: #7952de;
$custom-light: #a785e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7952de",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 256.714,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.2028,
    "h": 291.2
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#7952DE
secondary
#D2E1AB
accent
#EB3DBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7952DE

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

Preview Lab → · Contrast checker → · Palette generator →

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