#7952D7#7952D7

#7952D7 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.194 H 292.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7952D7
RGBrgb(121, 82, 215)
HSLhsl(258, 62%, 58%)
HSVhsv(258, 62%, 84%)
CMYKcmyk(43.7%, 61.9%, 0%, 15.7%)
CIE-LABlab(45.64, 46.63, -62.94)
CIE-LCHlch(45.64, 78.33, 306.53°)
OKLaboklab(55.13% 0.0739 -0.1797)
OKLCHoklch(55.13% 0.194 292.3)
XYZxyz(23.1648, 15.0051, 65.9526)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952D7 #B0D752
analogous
#526DD7 #7952D7 #BB52D7
triadic
#7952D7 #D77952 #52D779
tetradic
#7952D7 #D7526D #B0D752 #52D7BB
square
#7952D7 #D7526D #B0D752 #52D7BB
split-complementary
#7952D7 #D7BB52 #6DD752
monochromatic
#41218E #572CC0 #7952D7 #A084E2 #C6B5EE

Accessibility & contrast

On white

5.25
#7952D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7952D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952D7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952D7#FFFFFF#000000##FFFFFF
##7952D71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#5E718D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7952d7;
/* rgb */ color: rgb(121, 82, 215);
/* oklch */ color: oklch(55.1% 0.194 292.3);
Tailwind
colors: {
  custom: {
    50: '#a684e4',
    500: '#7952d7',
    950: '#000000',
  },
}
SCSS
$custom: #7952d7;
$custom-light: #a684e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7952d7",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 257.594,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.19431,
    "h": 292.3
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#7952D7
secondary
#CDDDA8
accent
#E642B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7952D7

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

Preview Lab → · Contrast checker → · Palette generator →

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