#7952EC#7952EC

#7952EC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.220 H 289.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7952EC
RGBrgb(121, 82, 236)
HSLhsl(255, 80%, 62%)
HSVhsv(255, 65%, 93%)
CMYKcmyk(48.7%, 65.3%, 0%, 7.5%)
CIE-LABlab(47.18, 52.42, -72.36)
CIE-LCHlch(47.18, 89.35, 305.92°)
OKLaboklab(56.72% 0.0718 -0.2074)
OKLCHoklch(56.72% 0.22 289.1)
XYZxyz(26.0384, 16.1546, 81.0868)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952EC #C5EC52
analogous
#5278EC #7952EC #C652EC
triadic
#7952EC #EC7952 #52EC79
tetradic
#7952EC #EC5278 #C5EC52 #52ECC6
square
#7952EC #EC5278 #C5EC52 #52ECC6
split-complementary
#7952EC #ECC652 #78EC52
monochromatic
#3B13B0 #4E1BE6 #7952EC #A489F2 #CEC0F8

Accessibility & contrast

On white

4.96
#7952EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7952EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952EC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952EC#FFFFFF#000000##FFFFFF
##7952EC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#527898
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7952ec;
/* rgb */ color: rgb(121, 82, 236);
/* oklch */ color: oklch(56.7% 0.220 289.1);
Tailwind
colors: {
  custom: {
    50: '#a985f3',
    500: '#7952ec',
    950: '#000000',
  },
}
SCSS
$custom: #7952ec;
$custom-light: #a985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7952ec",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 255.195,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.2195,
    "h": 289.1
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#7952EC
secondary
#DBE9B1
accent
#DD09A7
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7952EC

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

Preview Lab → · Contrast checker → · Palette generator →

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