#7952CE#7952CE

#7952CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.183 H 293.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7952CE
RGBrgb(121, 82, 206)
HSLhsl(259, 56%, 56%)
HSVhsv(259, 60%, 81%)
CMYKcmyk(41.3%, 60.2%, 0%, 19.2%)
CIE-LABlab(45.02, 44.17, -58.79)
CIE-LCHlch(45.02, 73.53, 306.92°)
OKLaboklab(54.48% 0.0744 -0.1675)
OKLCHoklch(54.48% 0.183 293.9)
XYZxyz(22.0400, 14.5552, 60.0288)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952CE #A7CE52
analogous
#5269CE #7952CE #B752CE
triadic
#7952CE #CE7952 #52CE79
tetradic
#7952CE #CE5269 #A7CE52 #52CEB7
square
#7952CE #CE5269 #A7CE52 #52CEB7
split-complementary
#7952CE #CEB752 #69CE52
monochromatic
#422581 #5A32B1 #7952CE #9E82DC #C3B1E9

Accessibility & contrast

On white

5.37
#7952CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7952CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952CE#FFFFFF#000000##FFFFFF
##7952CE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0768CB
Tritanopia (blue-blind)
#626E88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7952ce;
/* rgb */ color: rgb(121, 82, 206);
/* oklch */ color: oklch(54.5% 0.183 293.9);
Tailwind
colors: {
  custom: {
    50: '#a584de',
    500: '#7952ce',
    950: '#000000',
  },
}
SCSS
$custom: #7952ce;
$custom-light: #a584de;
$custom-dark: #000000;
JSON
{
  "hex": "#7952ce",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 258.871,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.18329,
    "h": 293.9
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#7952CE
secondary
#C7D7A4
accent
#DF49B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7952CE

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

Preview Lab → · Contrast checker → · Palette generator →

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